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

Function tempRoot

__tests__/vue-module-imports.test.ts:57–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55});
56
57function tempRoot(): string {
58 const root = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-vue-imports-'));
59 roots.push(root);
60 return root;
61}
62
63function write(root: string, files: Files): void {
64 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