MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / getForPath

Method getForPath

src/shared/utils/document_cache.ts:11–13  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

9 }
10
11 public getForPath(filePath: string): T | undefined {
12 return this.get(URI.file(filePath));
13 }
14
15 public set(uri: URI, value: T): void {
16 this.data.set(this.key(uri), value);

Callers 11

handleDebugSessionEndMethod · 0.80
getOrCreateSuiteMethod · 0.80
clearSuiteOrDirectoryMethod · 0.80
groupDiscoveredMethod · 0.80
testDiscoveredMethod · 0.80
testDoneMethod · 0.80
suiteDoneMethod · 0.80
testOutputMethod · 0.80
testErrorOutputMethod · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected