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

Function ordered

src/bin/codegraph.ts:2667–2667  ·  view source on GitHub ↗
(nodes: Node[])

Source from the content-addressed store, hash-verified

2665 // their place, by the same reading of a test as codegraph_callers.
2666 const isTest = testCodeReading(projectPath);
2667 const ordered = (nodes: Node[]) => (direction === 'callers' ? nonTestFirst(nodes, isTest) : nodes);
2668 const collected = groups.map((group) => {
2669 const nodes = new Map<string, Node>();
2670 const edges = new Map<string, Edge>();

Callers 1

mainFunction · 0.70

Calls 1

nonTestFirstFunction · 0.90

Tested by

no test coverage detected