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

Function row

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

Source from the content-addressed store, hash-verified

2639 return node.startLine ? `:${node.startLine}` : '';
2640 };
2641 const row = (node: Node, edges: Edge[], recursive: boolean) => ({
2642 ...cliNode(node),
2643 relationships: relationships(node, edges),
2644 lines: callSiteLines(ownEdges(node, edges)),
2645 recursive,
2646 });
2647 // The files whose lines this answer prints: each definition's and each
2648 // neighbour's shown.
2649 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