MCPcopy
hub / github.com/colbymchenry/codegraph / closeAll

Method closeAll

src/mcp/tools.ts:1105–1111  ·  view source on GitHub ↗

* Close all cached project connections

()

Source from the content-addressed store, hash-verified

1103 * Close all cached project connections
1104 */
1105 closeAll(): void {
1106 for (const cg of this.projectCache.values()) {
1107 cg.close();
1108 }
1109 this.projectCache.clear();
1110 this.worktreeMismatchCache.clear();
1111 }
1112
1113 /**
1114 * Validate that a value is a non-empty string within length bounds.

Callers 3

stopMethod · 0.80

Calls 2

closeMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected