MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / removeSocketPath

Function removeSocketPath

src/utils/udsMessaging.ts:388–395  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

386}
387
388async function removeSocketPath(path: string): Promise<void> {
389 if (process.platform === 'win32') return
390 try {
391 await unlink(path)
392 } catch {
393 // Already gone.
394 }
395}
396
397function stripAuthToken(message: UdsMessage): UdsMessage {
398 const { authToken: _authToken, ...metaWithoutAuth } = message.meta ?? {}

Callers 2

startUdsMessagingFunction · 0.85
stopUdsMessagingFunction · 0.85

Calls 1

unlinkFunction · 0.85

Tested by

no test coverage detected