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

Method setDefaultRootRefusal

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

2180 * clears it. A refused root was never opened, so no open failure stands.
2181 */
2182 setDefaultRootRefusal(refusal: string | null): void {
2183 this.defaultRootRefusal = refusal;
2184 if (refusal) this.defaultOpenFailure = null;
2185 }
2186
2187 /**
2188 * 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