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

Function getCapabilityPath

src/utils/udsMessaging.ts:158–161  ·  view source on GitHub ↗
(socket: string)

Source from the content-addressed store, hash-verified

156}
157
158function getCapabilityPath(socket: string): string {
159 const digest = createHash('sha256').update(socket).digest('hex')
160 return join(getCapabilityDir(), `${digest}.json`)
161}
162
163function isNotFound(error: unknown): boolean {
164 return (

Callers 2

writeCapabilityFileFunction · 0.85
readUdsCapabilityTokenFunction · 0.85

Calls 1

getCapabilityDirFunction · 0.85

Tested by

no test coverage detected