| 560 | } |
| 561 | |
| 562 | Status Move(const std::string& src, const std::string& dst) { |
| 563 | int ret = driver_->Move(fs_, src.c_str(), fs_, dst.c_str()); |
| 564 | CHECK_FAILURE(ret, "Rename"); |
| 565 | return Status::OK(); |
| 566 | } |
| 567 | |
| 568 | Status Chmod(const std::string& path, int mode) { |
| 569 | int ret = driver_->Chmod(fs_, path.c_str(), static_cast<short>(mode)); // NOLINT |