()
| 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> { |
nothing calls this directly
no test coverage detected