| 575 | } |
| 576 | |
| 577 | Status S3FileSystem::GetFileSize(const string& fname, uint64* file_size) { |
| 578 | FileStatistics stats; |
| 579 | TF_RETURN_IF_ERROR(this->Stat(fname, &stats)); |
| 580 | *file_size = stats.length; |
| 581 | return Status::OK(); |
| 582 | } |
| 583 | |
| 584 | Status S3FileSystem::RenameFile(const string& src, const string& target) { |
| 585 | string src_bucket, src_object, target_bucket, target_object; |