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

Method getRoutingManifest

src/index.ts:2979–2995  ·  view source on GitHub ↗

* Build a URL → handler routing manifest from the index. Each entry * pairs a route node (URL + method) with its handler function/method * via the `references` edge that framework resolvers emit. Returns * null when fewer than 3 valid (non-test) routes exist.

(limit?: number, perRoute?: boolean)

Source from the content-addressed store, hash-verified

2977 * null when fewer than 3 valid (non-test) routes exist.
2978 */
2979 getRoutingManifest(limit?: number, perRoute?: boolean): {
2980 entries: Array<{
2981 url: string;
2982 handler: string;
2983 handlerFile: string;
2984 handlerLine: number;
2985 handlerKind: string;
2986 routeId: string;
2987 routeFile: string;
2988 routeLine: number;
2989 }>;
2990 topHandlerFile: string | null;
2991 topHandlerFileCount: number;
2992 totalRoutes: number;
2993 } | null {
2994 return this.queries.getRoutingManifest(limit, perRoute);
2995 }
2996
2997 // ===========================================================================
2998 // Edge Operations

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected