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

Method releaseExplicitProject

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

Source from the content-addressed store, hash-verified

355 }
356
357 private releaseExplicitProject(cg: CodeGraph): void | Promise<void> {
358 const lease = this.explicitProjects.get(cg);
359 this.explicitProjects.delete(cg);
360 if (lease) return lease.release();
361 else cg.close();
362 }
363
364 /** Watch options shared by the default project and explicit projects. */
365 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