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

Method delete

src/rmarkdown/preview.ts:158–161  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

156
157 // dispose child and remove it from set
158 public delete(filePath: string): boolean {
159 this.store.get(filePath)?.dispose();
160 return this.store.delete(filePath);
161 }
162
163 public get(filePath: string): RMarkdownPreview | undefined {
164 return this.store.get(filePath);

Callers 11

didOpenTextDocumentMethod · 0.80
didCloseTextDocumentMethod · 0.80
previewRmdMethod · 0.80
updatePreviewMethod · 0.80
onRejectedMethod · 0.80
openPreviewMethod · 0.80
knitRmdMethod · 0.80
clearCachedFilesMethod · 0.80
removeFavoriteMethod · 0.80
manDirListenerMethod · 0.80

Calls 2

disposeMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected