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

Function tempRoot

__tests__/sync-default-export-change.test.ts:51–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49});
50
51function tempRoot(): string {
52 const root = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-sync-default-'));
53 roots.push(root);
54 return root;
55}
56
57function write(root: string, files: Files): void {
58 for (const [file, text] of Object.entries(files)) {

Callers 1

syncEditFunction · 0.70

Calls 2

pushMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected