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

Function localServerManifestPath

apps/desktop/src/main/sidecar.ts:109–110  ·  view source on GitHub ↗
(dataDir: string)

Source from the content-addressed store, hash-verified

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

Callers 3

readManifestFunction · 0.70
removeManifestIfOwnedByFunction · 0.70
writeSidecarManifestFunction · 0.70

Calls 1

serverControlDirFunction · 0.70

Tested by

no test coverage detected