(branch: string)
| 43 | const parent = path.dirname(p); |
| 44 | // At the filesystem root `dirname` is a fixed point; stop rather than recurse forever. |
| 45 | return parent === p ? p : path.join(canonicalPath(parent), path.basename(p)); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | export function worktreesRoot(): string { |
| 50 | return canonicalPath(path.join(kildHome(), 'worktrees')); |
no outgoing calls
no test coverage detected