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

Method key

src/leveldb/table/table_test.cc:282–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 void Prev() override { iter_->Prev(); }
281
282 Slice key() const override {
283 assert(Valid());
284 ParsedInternalKey key;
285 if (!ParseInternalKey(iter_->key(), &key)) {
286 status_ = Status::Corruption("malformed internal key");
287 return Slice("corrupted key");
288 }
289 return key.user_key;
290 }
291
292 Slice value() const override { return iter_->value(); }
293 Status status() const override {

Callers 2

ToStringMethod · 0.45
TESTFunction · 0.45

Calls 3

ParseInternalKeyFunction · 0.85
CorruptionFunction · 0.85
SliceClass · 0.50

Tested by

no test coverage detected