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

Function routeNames

__tests__/angular-router.test.ts:594–594  ·  view source on GitHub ↗
(cg: CodeGraph)

Source from the content-addressed store, hash-verified

592 return CodeGraph.init(root, { index: true });
593 }
594 const routeNames = (cg: CodeGraph) => cg.getNodesByKind('route').map((n) => n.name).sort();
595 const navs = (cg: CodeGraph) =>
596 cg
597 .getNodesByKind('route')

Callers 1

Calls 2

mapMethod · 0.80
getNodesByKindMethod · 0.65

Tested by

no test coverage detected