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

Function shown

src/resolution/frameworks/react.ts:1351–1351  ·  view source on GitHub ↗
(p: RoutePart)

Source from the content-addressed store, hash-verified

1349 const around = (start: number, end: number): RouteScope[] =>
1350 scopes.filter((outer) => holds(outer, start, end)).sort((a, b) => a.start - b.start);
1351 const shown = (p: RoutePart): string => p.lit ?? `{${p.expr}}`;
1352 const layoutOf = (s: RouteScope): string => (s.component ?? s.lazy)!;
1353 const partsOf = new Map<RouteScope, RoutePart[]>();
1354 const pathOf = new Map<RouteScope, string>();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected