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

Method setDefaultCodeGraph

src/mcp/tools.ts:1366–1368  ·  view source on GitHub ↗

* Update the default CodeGraph instance (e.g. after lazy initialization)

(cg: CodeGraph)

Source from the content-addressed store, hash-verified

1364 * Update the default CodeGraph instance (e.g. after lazy initialization)
1365 */
1366 setDefaultCodeGraph(cg: CodeGraph): void {
1367 this.cg = cg;
1368 }
1369
1370 /**
1371 * Engine-only: register the catch-up sync promise so the next `execute()`

Callers 3

retryInitializeSyncMethod · 0.80
doInitializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected