| 781 | } |
| 782 | |
| 783 | Status HadoopFileSystem::DeleteDirContents(const std::string& path, bool missing_dir_ok) { |
| 784 | if (internal::IsEmptyPath(path)) { |
| 785 | return internal::InvalidDeleteDirContents(path); |
| 786 | } |
| 787 | return impl_->DeleteDirContents(path, missing_dir_ok); |
| 788 | } |
| 789 | |
| 790 | Status HadoopFileSystem::DeleteRootDirContents() { |
| 791 | return impl_->DeleteDirContents("", /*missing_dir_ok=*/false); |
no test coverage detected