(projectRoot: string)
| 92 | * candidate 0 is unusable. |
| 93 | */ |
| 94 | export 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. */ |
| 100 | export function daemonOptOutSet(): boolean { |