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

Function navs

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

Source from the content-addressed store, hash-verified

296 return n;
297 };
298 const navs = (from: Node) => cg.getOutgoingEdges(from.id).filter((e) => e.kind === 'navigates');
299 const hrefs = (from: Node) =>
300 navs(from)
301 .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