cherry-studio/src/main
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
..
configs fix[SelectionAssistant]: shift+click behavior in macOS and clipboard behavior in Windows (#8390) 2025-07-23 17:24:26 +08:00
integration/nutstore/sso/lib build: remove sentry integration 2025-04-24 11:48:53 +08:00
knowledge refactor(Knowledge): simplify dimension settings, support base migration (#8315) 2025-07-26 10:54:06 +08:00
mcpServers fix(inputSchemas): convert input schemas to JSON schema format for consistency across DifyKnowledgeServer and FileSystemServer (#8444) 2025-07-24 10:17:45 +08:00
services feat: long run mcp (#8499) 2025-07-26 11:08:32 +08:00
utils fix: add isPathInside functionality to check path relationships (#8590) 2025-07-28 15:45:52 +08:00
bootstrap.ts refactor: move initAppDataDir function to a new utils module (#8337) 2025-07-21 15:46:14 +08:00
config.ts feat: new ui (#8322) 2025-07-23 14:36:39 +08:00
constant.ts feat: support portable config dir (#5039) 2025-04-24 17:23:56 +08:00
electron.d.ts feat: add the ability to display the application in tray #297 2024-11-09 08:42:09 +08:00
env.d.ts feat: added vite_main_bundle_id config and improved code cleanliness 2024-09-15 10:35:02 +08:00
index.ts chore(deps): update vite to rolldown-vite (#8460) 2025-07-25 00:55:07 +08:00
ipc.ts fix: add isPathInside functionality to check path relationships (#8590) 2025-07-28 15:45:52 +08:00