MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / rel

Function rel

src/ui-server/api/wire.ts:121–121  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

119}
120
121const rel = (p: string): string => p.replace(/\\/g, '/');
122
123export function toNodeRef(node: Node): WireNodeRef {
124 const file = rel(node.filePath);

Callers 4

indirectTestNoteMethod · 0.85
toNodeRefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected