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

Method closeAll

src/mcp/tools.ts:1146–1152  ·  view source on GitHub ↗

* Close all cached project connections

()

Source from the content-addressed store, hash-verified

1144 * Close all cached project connections
1145 */
1146 closeAll(): void {
1147 for (const cg of this.projectCache.values()) {
1148 cg.close();
1149 }
1150 this.projectCache.clear();
1151 this.worktreeMismatchCache.clear();
1152 }
1153
1154 /**
1155 * 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