(dataDir: string)
| 107 | |
| 108 | const serverControlDir = (dataDir: string): string => join(dataDir, "server-control"); |
| 109 | const localServerManifestPath = (dataDir: string): string => |
| 110 | join(serverControlDir(dataDir), "server.json"); |
| 111 | |
| 112 | const isPidAlive = (pid: number): boolean => { |
| 113 | if (!Number.isInteger(pid) || pid <= 0) return false; |
no test coverage detected