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

Method source

ui/src/lib/adapter.ts:216–216  ·  view source on GitHub ↗

A slice of an indexed file, classified for highlighting.

(request: SourceRequest, signal?: AbortSignal)

Source from the content-addressed store, hash-verified

214 nodes(ids: readonly string[], signal?: AbortSignal): Promise<WireNodeRefs>;
215 /** A slice of an indexed file, classified for highlighting. */
216 source(request: SourceRequest, signal?: AbortSignal): Promise<WireSource>;
217 /** One file: outline, import rails, dependencies, drift. */
218 file(path: string, signal?: AbortSignal): Promise<WireFilePayload>;
219 /** Everything the graph says about the LINES of one file (ports and arcs). */

Callers 4

fetchSourceFunction · 0.65
renderFunction · 0.65
mainFunction · 0.65
ui-package.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected