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

Function getDaemonSocketPath

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

Source from the content-addressed store, hash-verified

92 * candidate 0 is unusable.
93 */
94export function getDaemonSocketPath(projectRoot: string): string {
95 // The candidate list is never empty (≥1 on every platform), so [0] is safe.
96 return getDaemonSocketCandidates(projectRoot)[0]!;
97}
98
99/** Whether `CODEGRAPH_NO_DAEMON` was set to a truthy value. */
100export function daemonOptOutSet(): boolean {

Calls 1

Tested by 1

stoppingDaemonFunction · 0.72