mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 11:20:07 +08:00
* feat(ipc): add isPathInside functionality to check path relationships - Introduced a new IPC channel for checking if a path is inside another path, enhancing path validation capabilities. - Implemented the isPathInside function in the file utility, which accurately determines parent-child path relationships, handling edge cases. - Updated relevant components to utilize the new isPathInside function for validating app data and backup paths, ensuring better user experience and error handling. - Added comprehensive tests for isPathInside to cover various scenarios, including edge cases and error handling. * format code |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| aes.ts | ||
| file.ts | ||
| index.ts | ||
| init.ts | ||
| locales.ts | ||
| mcp.ts | ||
| process.ts | ||
| systemInfo.ts | ||
| windowUtil.ts | ||
| zip.ts | ||
| zoom.ts | ||