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

Method setDefaultRootRefusal

src/mcp/tools.ts:2208–2211  ·  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

2206 * clears it. A refused root was never opened, so no open failure stands.
2207 */
2208 setDefaultRootRefusal(refusal: string | null): void {
2209 this.defaultRootRefusal = refusal;
2210 if (refusal) this.defaultOpenFailure = null;
2211 }
2212
2213 /**
2214 * 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