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

Method getRoutingManifest

src/index.ts:2971–2987  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected