cherry-studio/packages/shared
beyondkmp c4182a950f
fix: add isPathInside functionality to check path relationships (#8590)
* 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
2025-07-28 15:45:52 +08:00
..
config chore: Update channel improve (#8501) 2025-07-25 13:20:01 +08:00
IpcChannel.ts fix: add isPathInside functionality to check path relationships (#8590) 2025-07-28 15:45:52 +08:00