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

Function getDaemonPidPath

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

Source from the content-addressed store, hash-verified

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

Callers 12

constructorMethod · 0.90
tryAcquireDaemonLockFunction · 0.90
cleanupDaemonArtifactsFunction · 0.90
stopDaemonAtFunction · 0.90
sameLockFunction · 0.90
makeFallbackEngineFunction · 0.90
cli-unlock.test.tsFile · 0.90

Calls 2

getCodeGraphDirFunction · 0.90
joinMethod · 0.45

Tested by

no test coverage detected