MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetFileSize

Method GetFileSize

tensorflow/core/platform/s3/s3_file_system.cc:577–582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575}
576
577Status 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
584Status S3FileSystem::RenameFile(const string& src, const string& target) {
585 string src_bucket, src_object, target_bucket, target_object;

Callers 2

ReadAllMethod · 0.45
TEST_FFunction · 0.45

Calls 1

StatMethod · 0.95

Tested by 2

ReadAllMethod · 0.36
TEST_FFunction · 0.36