MCPcopy
hub / github.com/colbymchenry/codegraph / getDaemonPidPath

Function getDaemonPidPath

src/mcp/daemon-paths.ts:92–94  ·  view source on GitHub ↗
(projectRoot: string)

Source from the content-addressed store, hash-verified

90
91/** Absolute path to the daemon pid lockfile for `projectRoot`. */
92export function getDaemonPidPath(projectRoot: string): string {
93 return path.join(getCodeGraphDir(projectRoot), 'daemon.pid');
94}
95
96/** Structured contents of the pid lockfile. */
97export interface DaemonLockInfo {

Callers 6

constructorMethod · 0.90
tryAcquireDaemonLockFunction · 0.90
cleanupDaemonArtifactsFunction · 0.90
stopDaemonAtFunction · 0.90

Calls 2

getCodeGraphDirFunction · 0.90
joinMethod · 0.80

Tested by

no test coverage detected