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

Method scanFile

src/resolution/types.ts:139–139  ·  view source on GitHub ↗

* An indexed file's text for a walk over all of them, which keeps none: it * stays out of the content cache, and each byte is a character, so anything * outside ASCII reads wrongly. Null when the file can't be read.

(filePath: string)

Source from the content-addressed store, hash-verified

137 * outside ASCII reads wrongly. Null when the file can't be read.
138 */
139 scanFile?(filePath: string): string | null;
140 /**
141 * `readFile(filePath)` split into lines, LRU-cached per file. Receiver-type
142 * inference scans source lines for EVERY `receiver.method()` ref; splitting

Callers 1

readMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected