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

Function tempRoot

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

Source from the content-addressed store, hash-verified

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