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

Function flow

ui/src/lib/adapter.ts:393–400  ·  view source on GitHub ↗
(request, signal)

Source from the content-addressed store, hash-verified

391 getJson<WireFileCodePayload>(`api/filecode/${encodePath(path)}`, signal),
392
393 flow(request, signal) {
394 const params = new URLSearchParams();
395 if (request.from) params.set('from', request.from);
396 if (request.to) params.set('to', request.to);
397 if (request.symbols) params.set('symbols', request.symbols);
398 for (const hop of request.trail ?? []) params.append('hop', hop);
399 return getJson<WireFlowPayload>(`api/flow${query(params)}`, signal);
400 },
401
402 map(request = {}, signal) {
403 const params = new URLSearchParams();

Callers

nothing calls this directly

Calls 3

getJsonFunction · 0.70
queryFunction · 0.70
setMethod · 0.45

Tested by

no test coverage detected