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