(self, path, missing_dir_ok)
| 376 | self.fs.rm(subpath) |
| 377 | |
| 378 | def delete_dir_contents(self, path, missing_dir_ok): |
| 379 | if path.strip("/") == "": |
| 380 | raise ValueError( |
| 381 | "delete_dir_contents called on path '", path, "'") |
| 382 | self._delete_dir_contents(path, missing_dir_ok) |
| 383 | |
| 384 | def delete_root_dir_contents(self): |
| 385 | self._delete_dir_contents("/", False) |