(projectRoot: string)
| 84 | * candidate 0 is unusable. |
| 85 | */ |
| 86 | export function getDaemonSocketPath(projectRoot: string): string { |
| 87 | // The candidate list is never empty (≥1 on every platform), so [0] is safe. |
| 88 | return getDaemonSocketCandidates(projectRoot)[0]!; |
| 89 | } |
| 90 | |
| 91 | /** Absolute path to the daemon pid lockfile for `projectRoot`. */ |
| 92 | export function getDaemonPidPath(projectRoot: string): string { |
no test coverage detected