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

Function navs

__tests__/tanstack-router.test.ts:358–358  ·  view source on GitHub ↗
(from: Node)

Source from the content-addressed store, hash-verified

356 return n;
357 };
358 const navs = (from: Node) => cg.getOutgoingEdges(from.id).filter((e) => e.kind === 'navigates');
359 const hrefs = (from: Node) =>
360 navs(from)
361 .map((e) => (e.metadata as Record<string, unknown>).href as string)

Callers 2

hrefsFunction · 0.70

Calls 1

getOutgoingEdgesMethod · 0.45

Tested by

no test coverage detected