MCPcopy Index your code
hub / github.com/REditorSupport/vscode-R / getLineFromCache

Method getLineFromCache

src/lineCache.ts:32–38  ·  view source on GitHub ↗
(line: number)

Source from the content-addressed store, hash-verified

30 return lineInCache;
31 }
32 public getLineFromCache(line: number): string {
33 const lineInCache = this.lineCache.get(line);
34 if (lineInCache === undefined) {
35 return this.addLineToCache(line)[0];
36 }
37 return lineInCache;
38 }
39}
40
41function isQuote(c: string) {

Callers 1

getLineFromCacheFunction · 0.80

Calls 2

addLineToCacheMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected