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

Function getDaemonSocketPath

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

Source from the content-addressed store, hash-verified

84 * candidate 0 is unusable.
85 */
86export function getDaemonSocketPath(projectRoot: string): string {
87 // The candidate list is never empty (≥1 on every platform), so [0] is safe.
88 return getDaemonSocketCandidates(projectRoot)[0]!;
89}
90
91/** Absolute path to the daemon pid lockfile for `projectRoot`. */
92export function getDaemonPidPath(projectRoot: string): string {

Callers 5

constructorMethod · 0.90
tryAcquireDaemonLockFunction · 0.90
mcp-daemon.test.tsFile · 0.90

Calls 1

Tested by

no test coverage detected