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

Function destroyProject

__tests__/explore-allocation-e2e.test.ts:72–76  ·  view source on GitHub ↗
(project?: Project)

Source from the content-addressed store, hash-verified

70}
71
72function destroyProject(project?: Project): void {
73 if (!project) return;
74 project.cg.destroy();
75 if (fs.existsSync(project.dir)) fs.rmSync(project.dir, { recursive: true, force: true });
76}
77
78/**
79 * One explore call, reduced to what the allocation assertions need — plus the

Callers 1

Calls 1

destroyMethod · 0.45

Tested by

no test coverage detected