MCPcopy Index your code
hub / github.com/Noumena-Network/code / makeRepoRoot

Function makeRepoRoot

src/utils/worktree.ncode.test.ts:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13})
14
15function makeRepoRoot(): string {
16 const dir = mkdtempSync(join(tmpdir(), 'ncode-worktrees-'))
17 tempDirs.push(dir)
18 return dir
19}
20
21describe('getWorktreesDir', () => {
22 test('defaults to canonical .ncode/worktrees for new repos', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected