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

Function cleanupTempDir

__tests__/security.test.ts:31–35  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

29}
30
31function cleanupTempDir(dir: string): void {
32 if (fs.existsSync(dir)) {
33 fs.rmSync(dir, { recursive: true, force: true });
34 }
35}
36
37describe('FileLock', () => {
38 let tempDir: string;

Callers 1

security.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected