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

Function __resetWslCacheForTests

src/sync/watch-policy.ts:114–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected