MCPcopy Create free account
hub / github.com/BlazingDB/blazingsql / fileSizeInBytes

Method fileSizeInBytes

engine/src/cache_machine/CacheDataLocalFile.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66size_t CacheDataLocalFile::fileSizeInBytes() const {
67 struct stat st;
68
69 if(stat(this->filePath_.c_str(), &st) == 0)
70 return (st.st_size);
71 else
72 throw;
73}
74
75size_t CacheDataLocalFile::sizeInBytes() const {
76 return size_in_bytes;

Callers

nothing calls this directly

Calls 1

statClass · 0.70

Tested by

no test coverage detected