(fn: WatchFn | null)
| 112 | |
| 113 | /** @internal Test-only seam to inject a fake fs.watch implementation. */ |
| 114 | export function __setFsWatchForTests(fn: WatchFn | null): void { |
| 115 | watchImpl = fn ?? fs.watch; |
| 116 | } |
| 117 | |
| 118 | /** |
| 119 | * Upper bound on simultaneously-watched directories on the Linux per-directory |
no outgoing calls