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

Function fetchFile

ui/src/lib/api.ts:118–120  ·  view source on GitHub ↗
(path: string, signal?: AbortSignal)

Source from the content-addressed store, hash-verified

116}
117
118export function fetchFile(path: string, signal?: AbortSignal): Promise<WireFilePayload> {
119 return getGraphAdapter().file(path, signal);
120}
121
122/**
123 * Everything the graph says about the lines of one file: the outline, one row

Callers

nothing calls this directly

Calls 2

getGraphAdapterFunction · 0.90
fileMethod · 0.80

Tested by

no test coverage detected