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

Method delete

src/shared/utils/document_cache.ts:31–33  ·  view source on GitHub ↗
(uri: URI)

Source from the content-addressed store, hash-verified

29 }
30
31 public delete(uri: URI): void {
32 this.data.delete(this.key(uri));
33 }
34
35 public deleteForPath(filePath: string): void {
36 this.delete(URI.file(filePath));

Callers 15

deleteForPathMethod · 0.95
getMethod · 0.80
handleOpenMethod · 0.80
constructorMethod · 0.80
handleUpdateMethod · 0.80
trackPositionMethod · 0.80
debouncedHandleChangeMethod · 0.80
constructorMethod · 0.80
onExitMethod · 0.80

Calls 1

keyMethod · 0.95

Tested by

no test coverage detected