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

Method readFile

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

Read file content

(filePath: string)

Source from the content-addressed store, hash-verified

87 fileExists(filePath: string): boolean;
88 /** Read file content */
89 readFile(filePath: string): string | null;
90 /**
91 * `readFile(filePath)` split into lines, LRU-cached per file. Receiver-type
92 * inference scans source lines for EVERY `receiver.method()` ref; splitting

Callers 15

indexAllMethod · 0.80
indexFileMethod · 0.80
readGrammarWasmBytesFunction · 0.80
resolveViaImportFunction · 0.80
inferCppReceiverTypeFunction · 0.80
inferLocalReceiverTypeFunction · 0.80
matchGoFieldChainCallFunction · 0.80
createContextMethod · 0.80
getRazorUsingsMethod · 0.80
fieldChannelEdgesFunction · 0.80
closureCollectionEdgesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected