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

Method setDefaultCodeGraph

src/mcp/tools.ts:2236–2240  ·  view source on GitHub ↗

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

(cg: CodeGraph)

Source from the content-addressed store, hash-verified

2234 * Update the default CodeGraph instance (e.g. after lazy initialization)
2235 */
2236 setDefaultCodeGraph(cg: CodeGraph): void {
2237 this.cg = cg;
2238 this.defaultOpenFailure = null;
2239 this.defaultRootRefusal = null;
2240 }
2241
2242 /**
2243 * Engine-only: record why the default project was refused as a sensitive

Callers 5

retryInitializeSyncMethod · 0.80
doInitializeMethod · 0.80
startWatchingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected