(pid: number | undefined)
| 92 | } |
| 93 | |
| 94 | function readPositivePid(pid: number | undefined): number | null { |
| 95 | if (typeof pid !== 'number') return null; |
| 96 | return Number.isInteger(pid) && pid > 0 ? pid : null; |
| 97 | } |
| 98 | |
| 99 | function newestMtimeMs(dirPath: string): number { |
| 100 | let newest = statMtimeMs(dirPath); |
no outgoing calls
no test coverage detected
searching dependent graphs…