MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / getRoutePath

Function getRoutePath

core/src/components/router/test/router.spec.tsx:72–74  ·  view source on GitHub ↗
(ids: RouteID[], routes: RouteChain[])

Source from the content-addressed store, hash-verified

70 return findChainForSegments(parsePath(path).segments, routes)!.map((r) => r.id);
71}
72function getRoutePath(ids: RouteID[], routes: RouteChain[]): string {
73 return generatePath(chainToSegments(findChainForIDs(ids, routes)!)!);
74}

Callers 1

router.spec.tsxFile · 0.85

Calls 3

generatePathFunction · 0.90
chainToSegmentsFunction · 0.90
findChainForIDsFunction · 0.90

Tested by

no test coverage detected