MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / removeStaleSocket

Function removeStaleSocket

src/daemon/socket-path.ts:97–101  ·  view source on GitHub ↗
(socketPath: string)

Source from the content-addressed store, hash-verified

95}
96
97export function removeStaleSocket(socketPath: string): void {
98 if (existsSync(socketPath)) {
99 unlinkSync(socketPath);
100 }
101}
102
103/**
104 * Get the daemon socket path for the current workspace context.

Callers 1

mainFunction · 0.90

Calls 1

existsSyncFunction · 0.85

Tested by

no test coverage detected