MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / refresh

Method refresh

src/helpViewer/packages.ts:103–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101 // Functions to force a refresh of listed packages
102 // Useful e.g. after installing/removing packages
103 public async refresh(): Promise<void> {
104 await this.clearCachedFiles();
105 this.pullFavoriteNames();
106 }
107
108 // Funciton to clear only the cached files regarding an individual package etc.
109 public async clearCachedFiles(re?: string|RegExp): Promise<void> {

Callers

nothing calls this directly

Calls 2

clearCachedFilesMethod · 0.95
pullFavoriteNamesMethod · 0.95

Tested by

no test coverage detected