MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / stat

Class stat

switch/source/transfer.cpp:104–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 u64 fileSize(const std::string& path)
103 {
104 struct stat st;
105 if (stat(path.c_str(), &st) != 0) {
106 return 0;
107 }

Callers 1

fileSizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected