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

Method Corruption

src/leveldb/db/dumpfile.cc:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39class CorruptionReporter : public log::Reader::Reporter {
40 public:
41 void Corruption(size_t bytes, const Status& status) override {
42 std::string r = "corruption: ";
43 AppendNumberTo(&r, bytes);
44 r += " bytes; ";
45 r += status.ToString();
46 r.push_back('\n');
47 dst_->Append(r);
48 }
49
50 WritableFile* dst_;
51};

Callers

nothing calls this directly

Calls 4

AppendNumberToFunction · 0.85
ToStringMethod · 0.45
push_backMethod · 0.45
AppendMethod · 0.45

Tested by

no test coverage detected