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

Method setDefaultRootRefusal

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

2245 * clears it. A refused root was never opened, so no open failure stands.
2246 */
2247 setDefaultRootRefusal(refusal: string | null): void {
2248 this.defaultRootRefusal = refusal;
2249 if (refusal) this.defaultOpenFailure = null;
2250 }
2251
2252 /**
2253 * 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