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

Method setDefaultCodeGraph

src/mcp/tools.ts:855–857  ·  view source on GitHub ↗

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

(cg: CodeGraph)

Source from the content-addressed store, hash-verified

853 * Update the default CodeGraph instance (e.g. after lazy initialization)
854 */
855 setDefaultCodeGraph(cg: CodeGraph): void {
856 this.cg = cg;
857 }
858
859 /**
860 * 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