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

Method setDefaultCodeGraph

src/mcp/tools.ts:2353–2357  ·  view source on GitHub ↗

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

(cg: CodeGraph)

Source from the content-addressed store, hash-verified

2351 * Update the default CodeGraph instance (e.g. after lazy initialization)
2352 */
2353 setDefaultCodeGraph(cg: CodeGraph): void {
2354 this.cg = cg;
2355 this.defaultOpenFailure = null;
2356 this.defaultRootRefusal = null;
2357 }
2358
2359 /**
2360 * 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