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

Function tempRoot

__tests__/sync-object-members.test.ts:37–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35});
36
37function tempRoot(): string {
38 const root = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-sync-members-'));
39 roots.push(root);
40 return root;
41}
42
43function write(root: string, files: Files): void {
44 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