MCPcopy
hub / github.com/codeaashu/claude-code / getBridgePointerPath

Function getBridgePointerPath

src/bridge/bridgePointer.ts:52–54  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

50export type BridgePointer = z.infer<ReturnType<typeof BridgePointerSchema>>
51
52export function getBridgePointerPath(dir: string): string {
53 return join(getProjectsDir(), sanitizePath(dir), 'bridge-pointer.json')
54}
55
56/**
57 * Write the pointer. Also used to refresh mtime during long sessions —

Callers 3

writeBridgePointerFunction · 0.85
readBridgePointerFunction · 0.85
clearBridgePointerFunction · 0.85

Calls 2

getProjectsDirFunction · 0.50
sanitizePathFunction · 0.50

Tested by

no test coverage detected