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

Function row

src/bin/codegraph.ts:2694–2699  ·  view source on GitHub ↗
(node: Node, edges: Edge[], recursive: boolean)

Source from the content-addressed store, hash-verified

2692 return node.startLine ? `:${node.startLine}` : '';
2693 };
2694 const row = (node: Node, edges: Edge[], recursive: boolean) => ({
2695 ...cliNode(node),
2696 relationships: relationships(node, edges),
2697 lines: callSiteLines(ownEdges(node, edges)),
2698 recursive,
2699 });
2700 // The files whose lines this answer prints: each definition's and each
2701 // neighbour's shown.
2702 const { filesChangedSinceIndexed } = await import('../graph/file-drift');

Callers 1

mainFunction · 0.70

Calls 4

callSiteLinesFunction · 0.90
cliNodeFunction · 0.85
relationshipsFunction · 0.85
ownEdgesFunction · 0.85

Tested by

no test coverage detected