| 554 | } |
| 555 | |
| 556 | Status Copy(const std::string& src, const std::string& dst) { |
| 557 | int ret = driver_->Copy(fs_, src.c_str(), fs_, dst.c_str()); |
| 558 | CHECK_FAILURE(ret, "Rename"); |
| 559 | return Status::OK(); |
| 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()); |