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

Method setDefaultCodeGraph

src/mcp/tools.ts:2171–2175  ·  view source on GitHub ↗

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

(cg: CodeGraph)

Source from the content-addressed store, hash-verified

2169 * Update the default CodeGraph instance (e.g. after lazy initialization)
2170 */
2171 setDefaultCodeGraph(cg: CodeGraph): void {
2172 this.cg = cg;
2173 this.defaultOpenFailure = null;
2174 this.defaultRootRefusal = null;
2175 }
2176
2177 /**
2178 * 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