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

Function fetchFlow

ui/src/lib/api.ts:197–202  ·  view source on GitHub ↗
(
  spec: { from?: string; to?: string; symbols?: string; trail?: readonly string[] },
  signal?: AbortSignal
)

Source from the content-addressed store, hash-verified

195 * - `{ trail }` — the hops the reader walked, as `<dir><id>` strings.
196 */
197export function fetchFlow(
198 spec: { from?: string; to?: string; symbols?: string; trail?: readonly string[] },
199 signal?: AbortSignal
200): Promise<WireFlowPayload> {
201 return getGraphAdapter().flow(spec, signal);
202}
203
204/* ---------------------------------------------------------- saved trails -- */
205

Callers

nothing calls this directly

Calls 2

getGraphAdapterFunction · 0.90
flowMethod · 0.65

Tested by

no test coverage detected