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

Method setDefaultCodeGraph

src/mcp/tools.ts:2197–2201  ·  view source on GitHub ↗

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

(cg: CodeGraph)

Source from the content-addressed store, hash-verified

2195 * Update the default CodeGraph instance (e.g. after lazy initialization)
2196 */
2197 setDefaultCodeGraph(cg: CodeGraph): void {
2198 this.cg = cg;
2199 this.defaultOpenFailure = null;
2200 this.defaultRootRefusal = null;
2201 }
2202
2203 /**
2204 * 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