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

Function fetchRoutes

ui/src/lib/api.ts:111–116  ·  view source on GitHub ↗
(
  opts: { limit?: number } = {},
  signal?: AbortSignal
)

Source from the content-addressed store, hash-verified

109
110/** The URL → handler map. The palette reads routes through `fetchEntryPoints`. */
111export function fetchRoutes(
112 opts: { limit?: number } = {},
113 signal?: AbortSignal
114): Promise<WireRoutes> {
115 return getGraphAdapter().routes(opts, signal);
116}
117
118export function fetchFile(path: string, signal?: AbortSignal): Promise<WireFilePayload> {
119 return getGraphAdapter().file(path, signal);

Callers

nothing calls this directly

Calls 2

getGraphAdapterFunction · 0.90
routesMethod · 0.80

Tested by

no test coverage detected