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

Method setDefaultRootRefusal

src/mcp/tools.ts:2364–2367  ·  view source on GitHub ↗

* Engine-only: record why the default project was refused as a sensitive * folder, so a call without a projectPath says why there is none. `null` * clears it. A refused root was never opened, so no open failure stands.

(refusal: string | null)

Source from the content-addressed store, hash-verified

2362 * clears it. A refused root was never opened, so no open failure stands.
2363 */
2364 setDefaultRootRefusal(refusal: string | null): void {
2365 this.defaultRootRefusal = refusal;
2366 if (refusal) this.defaultOpenFailure = null;
2367 }
2368
2369 /**
2370 * Engine-only: record why the default project failed to open (#995), so a

Callers 1

noteRootRefusalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected