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

Function tempRoot

__tests__/sync-import-binding-retry.test.ts:106–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104});
105
106function tempRoot(): string {
107 const root = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-sync-binding-'));
108 roots.push(root);
109 return root;
110}
111
112function write(root: string, files: Files): void {
113 for (const [file, text] of Object.entries(files)) {

Callers 3

fullIndexOfFunction · 0.70
fixtureFunction · 0.70

Calls 2

pushMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected