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

Method rel

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

Source from the content-addressed store, hash-verified

4025 const SAMPLE = 40; // family members inspected per token
4026 const MAX_NOTES = 3;
4027 const rel = (p: string) => p.replace(/\\/g, '/');
4028 const containerOf = (m: Node): Node | null => {
4029 try { const ce = cg.getIncomingEdges(m.id).find((e) => e.kind === 'contains'); return ce ? cg.getNode(ce.source) : null; }
4030 catch { return null; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected