(i: number)
| 910 | const list = await artifactCache.fetchWithCache(jsonUrl, "json"); |
| 911 | const arrayentry = list["records"] as Array<TensorShardEntry>; |
| 912 | const processShard = async (i: number) => { |
| 913 | const dataUrl = new URL(arrayentry[i].dataPath, cacheUrl).href; |
| 914 | await artifactCache.deleteInCache(dataUrl); |
| 915 | } |
| 916 | await Promise.all(arrayentry.map((_, index) => processShard(index))); |
| 917 | } |
no test coverage detected
searching dependent graphs…