(input: {
hostname: string;
port: number;
})
| 226 | }); |
| 227 | |
| 228 | export const removeDaemonRecord = (input: { |
| 229 | hostname: string; |
| 230 | port: number; |
| 231 | }): Effect.Effect<void, PlatformError, FileSystem.FileSystem | Path.Path> => |
| 232 | Effect.gen(function* () { |
| 233 | const fs = yield* FileSystem.FileSystem; |
| 234 | const path = yield* Path.Path; |
| 235 | yield* fs.remove(daemonRecordPath(path, input), { force: true }); |
| 236 | }); |
| 237 | |
| 238 | export const writeDaemonPointer = (input: { |
| 239 | hostname: string; |
no test coverage detected