MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / getDaemonPidPath

Function getDaemonPidPath

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

Source from the content-addressed store, hash-verified

105
106/** Absolute path to the daemon pid lockfile for `projectRoot`. */
107export function getDaemonPidPath(projectRoot: string): string {
108 return path.join(getCodeGraphDir(projectRoot), 'daemon.pid');
109}
110
111/** Structured contents of the pid lockfile. */
112export interface DaemonLockInfo {

Callers 15

constructorMethod · 0.90
tryAcquireDaemonLockFunction · 0.90
removeDaemonArtifactsFunction · 0.90
stopDaemonAtFunction · 0.90
daemonStopFailureMessageFunction · 0.90
sameLockFunction · 0.90
stopOlderDaemonFunction · 0.90
makeFallbackEngineFunction · 0.90
outwaitCandidateFunction · 0.90
lockPidFunction · 0.90
holdPipeFunction · 0.90

Calls 2

getCodeGraphDirFunction · 0.90
joinMethod · 0.45

Tested by 7

lockPidFunction · 0.72
holdPipeFunction · 0.72
killHolderFunction · 0.72
stoppingDaemonFunction · 0.72
writeLockFunction · 0.72
writeLegacyLockFunction · 0.72
writeLockFunction · 0.72