| 401 | } |
| 402 | |
| 403 | Status DeleteFile(const std::string& path) { |
| 404 | if (IsDirectory(path)) { |
| 405 | return Status::IOError("path is a directory"); |
| 406 | } |
| 407 | RETURN_NOT_OK(Delete(path, /*recursive=*/false)); |
| 408 | return Status::OK(); |
| 409 | } |
| 410 | |
| 411 | Status Delete(const std::string& path, bool recursive) { |
| 412 | int ret = driver_->Delete(client_, path.c_str(), static_cast<int>(recursive)); |
nothing calls this directly
no test coverage detected