* The deterministic tmpdir socket path for `projectRoot` — the fallback used * when the in-project location can't host a socket (too long, or an FS that * doesn't support AF_UNIX). Hash keeps it project-scoped, and being purely a * function of the root means the daemon and the proxy compute the i
(projectRoot: string)
| 49 | * path without talking to each other. |
| 50 | */ |
| 51 | function tmpdirSocketPath(projectRoot: string): string { |
| 52 | return path.join(os.tmpdir(), `codegraph-${projectHash(projectRoot)}.sock`); |
| 53 | } |
| 54 | |
| 55 | /** |
| 56 | * Ordered socket / named-pipe path candidates the daemon should try to bind (and |
no test coverage detected