(path: Path)
| 153 | |
| 154 | @staticmethod |
| 155 | def rmrf(path: Path) -> None: |
| 156 | if path.exists() or path.is_symlink(): |
| 157 | if path.is_dir() and not path.is_symlink(): |
| 158 | shutil.rmtree(path) |
| 159 | else: |
| 160 | path.unlink() |
| 161 | |
| 162 | |
| 163 | def clean() -> None: |
no test coverage detected