()
| 112 | |
| 113 | /** Test-only: reset the cached WSL detection. */ |
| 114 | export function __resetWslCacheForTests(): void { |
| 115 | wslChecked = false; |
| 116 | wslValue = false; |
| 117 | } |
| 118 | |
| 119 | /** Test-only: decide {@link isWslWindowsDrive} with `fn` (`null` restores detection). */ |
| 120 | export function __setWslWindowsDriveForTests(fn: ((p: string) => boolean) | null): void { |
nothing calls this directly
no outgoing calls
no test coverage detected