(pkgName: string)
| 128 | return [...this.favoriteNames.values()]; |
| 129 | } |
| 130 | public removeFavorite(pkgName: string): string[] { |
| 131 | this.pullFavoriteNames(); |
| 132 | this.favoriteNames.delete(pkgName); |
| 133 | this.pushFavoriteNames(); |
| 134 | return [...this.favoriteNames.values()]; |
| 135 | } |
| 136 | |
| 137 | // return the index file if cached, else undefined |
| 138 | private getCachedIndexFile(path: string): IndexEntry[] | undefined { |
no test coverage detected