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

Method releaseExplicitProject

src/mcp/engine.ts:329–334  ·  view source on GitHub ↗
(cg: CodeGraph)

Source from the content-addressed store, hash-verified

327 }
328
329 private releaseExplicitProject(cg: CodeGraph): void | Promise<void> {
330 const lease = this.explicitProjects.get(cg);
331 this.explicitProjects.delete(cg);
332 if (lease) return lease.release();
333 else cg.close();
334 }
335
336 /** Watch options shared by the default project and explicit projects. */
337 private watchOptions(): Parameters<CodeGraph['watch']>[0] {

Callers 1

constructorMethod · 0.95

Calls 4

getMethod · 0.65
deleteMethod · 0.65
releaseMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected