(func: Function | string, items: any[])
| 273 | } |
| 274 | |
| 275 | static filterItemsNotInCache(func: Function | string, items: any[]): any[] { |
| 276 | const cachedItems = new Set(Cache.getItemsHashes(func)); |
| 277 | return items.filter(item => !cachedItems.has(Cache.hash(item))); |
| 278 | } |
| 279 | |
| 280 | static printCachedItemsCount(func: Function | string): number { |
| 281 | const cachedItemsCount = getCachedFiles(func).length; |
nothing calls this directly
no test coverage detected