(cache_path: Union[str, Path])
| 311 | |
| 312 | @staticmethod |
| 313 | def clear_cache(cache_path: Union[str, Path]): |
| 314 | for p in [ |
| 315 | cache_path, |
| 316 | cache_path.with_suffix(".meta"), |
| 317 | cache_path.with_suffix(".index"), |
| 318 | ]: |
| 319 | if p.exists(): |
| 320 | p.unlink() |
| 321 | |
| 322 | @staticmethod |
| 323 | def get_cache_dir(dir_name: str, freq: str = None) -> Path: |
no test coverage detected