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

Function getDaemonSocketPath

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

Source from the content-addressed store, hash-verified

145 * when its first candidate is unusable.
146 */
147export function getDaemonSocketPath(projectRoot: string): string {
148 // The candidate list is never empty (≥1 on every platform), so [0] is safe.
149 return getDaemonBindCandidates(projectRoot)[0]!;
150}
151
152/** Whether `CODEGRAPH_NO_DAEMON` was set to a truthy value. */
153export function daemonOptOutSet(): boolean {

Calls 1

getDaemonBindCandidatesFunction · 0.85

Tested by 1

stoppingDaemonFunction · 0.72