(dataDir: string)
| 101 | |
| 102 | const serverControlDir = (dataDir: string): string => join(dataDir, "server-control"); |
| 103 | const localServerManifestPath = (dataDir: string): string => |
| 104 | join(serverControlDir(dataDir), "server.json"); |
| 105 | |
| 106 | const isPidAlive = (pid: number): boolean => { |
| 107 | if (!Number.isInteger(pid) || pid <= 0) return false; |
no test coverage detected