(key: string)
| 37 | const cacheTotal = { bytes: 0 } |
| 38 | |
| 39 | function cacheDelete(key: string) { |
| 40 | const entry = cache.get(key) |
| 41 | if (!entry) return |
| 42 | cacheTotal.bytes -= entry.bytes |
| 43 | cache.delete(key) |
| 44 | } |
| 45 | |
| 46 | function cachePrune() { |
| 47 | for (;;) { |
no test coverage detected