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

Method closeAll

src/mcp/tools.ts:1668–1674  ·  view source on GitHub ↗

* Close all cached project connections

()

Source from the content-addressed store, hash-verified

1666 * Close all cached project connections
1667 */
1668 closeAll(): void {
1669 for (const cg of this.projectCache.values()) {
1670 cg.close();
1671 }
1672 this.projectCache.clear();
1673 this.worktreeMismatchCache.clear();
1674 }
1675
1676 /**
1677 * Validate that a value is a non-empty string within length bounds.

Callers 4

stopMethod · 0.80

Calls 2

closeMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected