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

Function tempDir

__tests__/sqlite-open-error.test.ts:55–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53});
54
55function tempDir(): string {
56 const dir = fs.realpathSync(fs.mkdtempSync(path.join(os.tmpdir(), 'cg-open-error-')));
57 dirs.push(dir);
58 return dir;
59}
60
61/** An indexed project, closed again. */
62async function indexedProject(): Promise<{ root: string; dbPath: string }> {

Callers 2

indexedProjectFunction · 0.70

Calls 2

pushMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected