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

Function routeId

src/resolution/frameworks/angular-router.ts:347–349  ·  view source on GitHub ↗

The id a config-declared route carries — reconstructed exactly, so the resolver recognises its own.

(filePath: string, line: number, inFilePath: string)

Source from the content-addressed store, hash-verified

345
346/** The id a config-declared route carries — reconstructed exactly, so the resolver recognises its own. */
347function routeId(filePath: string, line: number, inFilePath: string): string {
348 return `route:${filePath}:${line}:${inFilePath}:angular`;
349}
350
351/** True for a route node this resolver emitted. */
352export function isAngularRoute(node: Node): boolean {

Callers 2

isAngularRouteFunction · 0.70
extractFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected