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

Method GetFileSize

serving/processor/framework/filesystem/oss_file_system.cc:1000–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

998}
999
1000Status 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
1007Status OSSFileSystem::RenameFile(const std::string& src,
1008 const std::string& target) {

Callers

nothing calls this directly

Calls 1

StatClass · 0.85

Tested by

no test coverage detected