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

Function localServerManifestPath

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

Source from the content-addressed store, hash-verified

101
102const serverControlDir = (dataDir: string): string => join(dataDir, "server-control");
103const localServerManifestPath = (dataDir: string): string =>
104 join(serverControlDir(dataDir), "server.json");
105
106const isPidAlive = (pid: number): boolean => {
107 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