MCPcopy
hub / github.com/colbymchenry/codegraph / createTempDir

Function createTempDir

__tests__/integration/full-pipeline.test.ts:24–26  ·  view source on GitHub ↗
(prefix = 'codegraph-int-')

Source from the content-addressed store, hash-verified

22import CodeGraph from '../../src/index';
23
24function createTempDir(prefix = 'codegraph-int-'): string {
25 return fs.mkdtempSync(path.join(os.tmpdir(), prefix));
26}
27
28function cleanupTempDir(dir: string): void {
29 if (fs.existsSync(dir)) {

Callers 1

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected