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

Function tmpRoot

__tests__/symbol-lookup.test.ts:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36const HAS_SQLITE = hasSqliteBindings();
37
38function tmpRoot(): string {
39 return fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-symbol-lookup-'));
40}
41
42function rmTree(dir: string): void {
43 if (fs.existsSync(dir)) fs.rmSync(dir, { recursive: true, force: true });

Callers 2

buildRustWorkspaceFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected