* Path math keyed on the TARGET platform (not the host) — same convention as * `detectInstallMethod`, so the planner is deterministic when unit-tested with * a win32 fixture on a POSIX host and vice versa. In production the probe's * platform always matches the running host.
(platform: NodeJS.Platform)
| 101 | * platform always matches the running host. |
| 102 | */ |
| 103 | function pathFor(platform: NodeJS.Platform): path.PlatformPath { |
| 104 | return platform === 'win32' ? path.win32 : path.posix; |
| 105 | } |
| 106 | |
| 107 | /** The machine-level state dir that must survive an artifacts-only removal. */ |
| 108 | function stateDir(p: RemoveBinaryProbes): string { |
no outgoing calls
no test coverage detected