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

Method getEndsInOperatorFromCache

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

Source from the content-addressed store, hash-verified

23 return [cleaned, endsInOperator];
24 }
25 public getEndsInOperatorFromCache(line: number): boolean {
26 const lineInCache = this.endsInOperatorCache.get(line);
27 if (lineInCache === undefined) {
28 return this.addLineToCache(line)[1];
29 }
30 return lineInCache;
31 }
32 public getLineFromCache(line: number): string {
33 const lineInCache = this.lineCache.get(line);
34 if (lineInCache === undefined) {

Callers 1

Calls 2

addLineToCacheMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected