| 410 | } |
| 411 | |
| 412 | Status SubTreeFileSystem::DeleteRootDirContents() { |
| 413 | if (base_path_.empty()) { |
| 414 | return base_fs_->DeleteRootDirContents(); |
| 415 | } else { |
| 416 | return base_fs_->DeleteDirContents(base_path_); |
| 417 | } |
| 418 | } |
| 419 | |
| 420 | Status SubTreeFileSystem::DeleteFile(const std::string& path) { |
| 421 | ARROW_ASSIGN_OR_RAISE(auto real_path, PrependBaseNonEmpty(path)); |
nothing calls this directly
no test coverage detected