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

Function row

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

Source from the content-addressed store, hash-verified

2699 return node.startLine ? `:${node.startLine}` : '';
2700 };
2701 const row = (node: Node, edges: Edge[], recursive: boolean) => ({
2702 ...cliNode(node),
2703 relationships: relationships(node, edges),
2704 lines: callSiteLines(ownEdges(node, edges)),
2705 recursive,
2706 });
2707 // The files whose lines this answer prints: each definition's and each
2708 // neighbour's shown.
2709 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