| 998 | } |
| 999 | |
| 1000 | Status OSSFileSystem::GetFileSize(const std::string& fname, uint64* file_size) { |
| 1001 | FileStatistics stat; |
| 1002 | TF_RETURN_IF_ERROR(Stat(fname, &stat)); |
| 1003 | *file_size = stat.length; |
| 1004 | return Status::OK(); |
| 1005 | } |
| 1006 | |
| 1007 | Status OSSFileSystem::RenameFile(const std::string& src, |
| 1008 | const std::string& target) { |