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

Function getJson

ui/src/lib/adapter.ts:339–341  ·  view source on GitHub ↗
(path: string, signal?: AbortSignal)

Source from the content-addressed store, hash-verified

337 }
338
339 function getJson<T>(path: string, signal?: AbortSignal): Promise<T> {
340 return call<T>(path, { headers: { accept: 'application/json' } }, signal);
341 }
342
343 /** A write: the marker header, and a JSON body when there is one to send. */
344 function write<T>(path: string, method: string, body?: unknown, signal?: AbortSignal): Promise<T> {

Callers 11

createHttpAdapterFunction · 0.70
searchFunction · 0.70
nodesFunction · 0.70
sourceFunction · 0.70
flowFunction · 0.70
mapFunction · 0.70
routesFunction · 0.70
screensFunction · 0.70
stepsFunction · 0.70
entryPointsFunction · 0.70
deadCodeFunction · 0.70

Calls 1

callFunction · 0.70

Tested by

no test coverage detected