()
| 479 | * Get the socket path (Unix) or pipe name (Windows) |
| 480 | */ |
| 481 | export function getSecureSocketPath(): string { |
| 482 | if (platform() === 'win32') { |
| 483 | return `\\\\.\\pipe\\${getSocketName()}` |
| 484 | } |
| 485 | return join(getSocketDir(), `${process.pid}.sock`) |
| 486 | } |
| 487 | |
| 488 | /** |
| 489 | * Get all socket paths including PID-based sockets in the directory |
no test coverage detected