(input: {
hostname: string;
scopeId: string;
})
| 281 | }); |
| 282 | |
| 283 | export const removeDaemonPointer = (input: { |
| 284 | hostname: string; |
| 285 | scopeId: string; |
| 286 | }): Effect.Effect<void, PlatformError, FileSystem.FileSystem | Path.Path> => |
| 287 | Effect.gen(function* () { |
| 288 | const fs = yield* FileSystem.FileSystem; |
| 289 | const path = yield* Path.Path; |
| 290 | yield* fs.remove(daemonPointerPath(path, input), { force: true }); |
| 291 | }); |
| 292 | |
| 293 | const parseLockPid = (raw: string): number | null => { |
| 294 | let parsed: unknown; |
no test coverage detected