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

Function tempRoot

__tests__/sync-module-config-change.test.ts:35–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33});
34
35function tempRoot(): string {
36 const root = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-module-config-'));
37 roots.push(root);
38 return root;
39}
40
41function write(root: string, files: Files): void {
42 for (const [file, text] of Object.entries(files)) {

Callers 3

fullIndexWithDbFunction · 0.70
syncEditFunction · 0.70

Calls 2

pushMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected