(root: string)
| 43 | } |
| 44 | |
| 45 | function recordPath(root: string): string { |
| 46 | const hash = crypto.createHash('sha256').update(path.resolve(root)).digest('hex').slice(0, 16); |
| 47 | return path.join(getRegistryDir(), `${hash}.json`); |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * Is `pid` a live process? `kill(pid, 0)` sends no signal — it just probes: |
no test coverage detected