MCPcopy Index your code
hub / github.com/continuedev/continue / readRangeInFile

Method readRangeInFile

extensions/vscode/src/VsCodeIde.ts:212–220  ·  view source on GitHub ↗
(fileUri: string, range: Range)

Source from the content-addressed store, hash-verified

210 }
211
212 readRangeInFile(fileUri: string, range: Range): Promise<string> {
213 return this.ideUtils.readRangeInFile(
214 vscode.Uri.parse(fileUri),
215 new vscode.Range(
216 new vscode.Position(range.start.line, range.start.character),
217 new vscode.Position(range.end.line, range.end.character),
218 ),
219 );
220 }
221
222 async getFileStats(files: string[]): Promise<FileStatsMap> {
223 const pathToLastModified: FileStatsMap = {};

Callers

nothing calls this directly

Calls 1

readRangeInFileMethod · 0.65

Tested by

no test coverage detected