Roo-Code/packages/core
Roo Code 001cea3eb0 feat: use hard links for file copies when processing .worktreeinclude
Adds an optional useHardLinks parameter to copyWorktreeIncludeFiles that
creates hard links instead of full copies when the filesystem supports them.
This saves disk space and speeds up worktree creation for large directories
like node_modules.

- Add hardLinkWithFallback method that falls back to copy on failure
- Add hardLinkDirectoryRecursive for recursive directory hard-linking
- Thread useHardLinks option through handler and message types
- Add "Use hard links" checkbox to CreateWorktreeModal (defaults to on)
- Add i18n keys for the new UI elements
- Add tests for hard link behavior including inode verification

Closes #11758
2026-02-26 14:39:26 +00:00
..
src feat: use hard links for file copies when processing .worktreeinclude 2026-02-26 14:39:26 +00:00
eslint.config.mjs Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
package.json Git worktree management (#10458) 2026-01-20 13:39:24 -08:00
tsconfig.json Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
vitest.config.ts Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00