MCPcopy
hub / github.com/codeaashu/claude-code / worktreesDir

Function worktreesDir

src/utils/worktree.ts:204–206  ·  view source on GitHub ↗
(repoRoot: string)

Source from the content-addressed store, hash-verified

202}
203
204function worktreesDir(repoRoot: string): string {
205 return join(repoRoot, '.claude', 'worktrees')
206}
207
208// Flatten nested slugs (`user/feature` → `user+feature`) for both the branch
209// name and the directory path. Nesting in either location is unsafe:

Callers 3

worktreePathForFunction · 0.85
getOrCreateWorktreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected