(projectRoot: string)
| 145 | * when its first candidate is unusable. |
| 146 | */ |
| 147 | export 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. */ |
| 153 | export function daemonOptOutSet(): boolean { |