MCPcopy Create free account
hub / github.com/ElementsProject/elements / FileSize

Method FileSize

src/leveldb/db/recovery_test.cc:130–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 int NumTables() { return GetFiles(kTableFile).size(); }
129
130 uint64_t FileSize(const std::string& fname) {
131 uint64_t result;
132 ASSERT_OK(env_->GetFileSize(fname, &result)) << fname;
133 return result;
134 }
135
136 void CompactMemTable() { dbfull()->TEST_CompactMemTable(); }
137

Callers 4

BuildTableFunction · 0.45
DoCompactionWorkMethod · 0.45
RepairTableMethod · 0.45

Calls 1

GetFileSizeMethod · 0.45

Tested by

no test coverage detected