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

Method rel

src/mcp/tools.ts:4045–4045  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

4043 const SAMPLE = 40; // family members inspected per token
4044 const MAX_NOTES = 3;
4045 const rel = (p: string) => p.replace(/\\/g, '/');
4046 const containerOf = (m: Node): Node | null => {
4047 try { const ce = cg.getIncomingEdges(m.id).find((e) => e.kind === 'contains'); return ce ? cg.getNode(ce.source) : null; }
4048 catch { return null; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected