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

Function tempRoot

__tests__/sync-module-importers.test.ts:93–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91});
92
93function tempRoot(): string {
94 const root = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-sync-importers-'));
95 roots.push(root);
96 return root;
97}
98
99function write(root: string, files: Files): void {
100 for (const [file, text] of Object.entries(files)) {

Callers 2

fullIndexOfFunction · 0.70

Calls 2

pushMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected