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

Method set

src/shared/utils/document_cache.ts:15–17  ·  view source on GitHub ↗
(uri: URI, value: T)

Source from the content-addressed store, hash-verified

13 }
14
15 public set(uri: URI, value: T): void {
16 this.data.set(this.key(uri), value);
17 }
18
19 public setForPath(filePath: string, value: T): void {
20 this.set(URI.file(filePath), value);

Callers 15

setForPathMethod · 0.95
addMethod · 0.80
storeGroupMethod · 0.80
storeTestMethod · 0.80
fromPackageNamesMethod · 0.80
constructorMethod · 0.80
trackDocMethod · 0.80
trackDocMethod · 0.80

Calls 1

keyMethod · 0.95

Tested by

no test coverage detected