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

Method closeAll

src/mcp/tools.ts:1135–1141  ·  view source on GitHub ↗

* Close all cached project connections

()

Source from the content-addressed store, hash-verified

1133 * Close all cached project connections
1134 */
1135 closeAll(): void {
1136 for (const cg of this.projectCache.values()) {
1137 cg.close();
1138 }
1139 this.projectCache.clear();
1140 this.worktreeMismatchCache.clear();
1141 }
1142
1143 /**
1144 * 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