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

Function getDaemonSocketPath

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

Source from the content-addressed store, hash-verified

91 * candidate 0 is unusable.
92 */
93export function getDaemonSocketPath(projectRoot: string): string {
94 // The candidate list is never empty (≥1 on every platform), so [0] is safe.
95 return getDaemonSocketCandidates(projectRoot)[0]!;
96}
97
98/** Absolute path to the daemon pid lockfile for `projectRoot`. */
99export function getDaemonPidPath(projectRoot: string): string {

Calls 1

Tested by 1

stoppingDaemonFunction · 0.72