Remove a key (and the file) from the cache.
(self, key)
| 43 | return path if path.exists() else None |
| 44 | |
| 45 | def delete(self, key): |
| 46 | """ Remove a key (and the file) from the cache. """ |
| 47 | path = self.get(key) |
| 48 | if path: |
| 49 | path.unlink() |
| 50 | |
| 51 | def get_or_insert(self, key, create): |
| 52 | """ |
no test coverage detected