(path: string, bytes?: number)
| 24 | } |
| 25 | |
| 26 | function touch(path: string, bytes?: number) { |
| 27 | const prev = lru.get(path) |
| 28 | if (prev === undefined && bytes === undefined) return |
| 29 | setBytes(path, bytes ?? prev ?? 0) |
| 30 | } |
| 31 | |
| 32 | function remove(path: string) { |
| 33 | const prev = lru.get(path) |
no test coverage detected