()
| 81 | |
| 82 | |
| 83 | def erase(): |
| 84 | ensure_setup() |
| 85 | assert not config.FROZEN_CACHE, 'Cache cannot be erased when FROZEN_CACHE is set' |
| 86 | |
| 87 | with lock('erase'): |
| 88 | # Delete everything except the lockfile itself |
| 89 | utils.delete_contents(cachedir, exclude=[os.path.basename(cachelock_name)]) |
| 90 | |
| 91 | |
| 92 | def get_path(name): |
nothing calls this directly
no test coverage detected