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

Method setDefaultCodeGraph

src/mcp/tools.ts:825–827  ·  view source on GitHub ↗

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

(cg: CodeGraph)

Source from the content-addressed store, hash-verified

823 * Update the default CodeGraph instance (e.g. after lazy initialization)
824 */
825 setDefaultCodeGraph(cg: CodeGraph): void {
826 this.cg = cg;
827 }
828
829 /**
830 * 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