MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / removeDaemonRecord

Function removeDaemonRecord

apps/cli/src/daemon-state.ts:228–236  ·  view source on GitHub ↗
(input: {
  hostname: string;
  port: number;
})

Source from the content-addressed store, hash-verified

226 });
227
228export 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
238export const writeDaemonPointer = (input: {
239 hostname: string;

Callers 5

cleanupPointerFunction · 0.90
stopDaemonFunction · 0.90
runDaemonSessionFunction · 0.90
main.tsFile · 0.90

Calls 2

daemonRecordPathFunction · 0.85
removeMethod · 0.65

Tested by

no test coverage detected