MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getSecureSocketPath

Function getSecureSocketPath

src/utils/claudeInChrome/common.ts:481–486  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

479 * Get the socket path (Unix) or pipe name (Windows)
480 */
481export 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

Callers 2

startMethod · 0.85
createChromeContextFunction · 0.85

Calls 3

platformFunction · 0.85
getSocketNameFunction · 0.85
getSocketDirFunction · 0.85

Tested by

no test coverage detected