MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / tempRoot

Function tempRoot

__tests__/sync-navigation-retry.test.ts:433–437  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

431});
432
433function tempRoot(): string {
434 const root = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-sync-nav-'));
435 roots.push(root);
436 return root;
437}
438
439function write(root: string, files: Record<string, string>): void {
440 for (const [rel, content] of Object.entries(files)) {

Callers 3

freshNavigationsFunction · 0.70
monorepoFunction · 0.70

Calls 2

pushMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected