* 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)
| 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 |