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

Method SetDataIterator

src/leveldb/table/two_level_iterator.cc:141–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void TwoLevelIterator::SetDataIterator(Iterator* data_iter) {
142 if (data_iter_.iter() != nullptr) SaveError(data_iter_.status());
143 data_iter_.Set(data_iter);
144}
145
146void TwoLevelIterator::InitDataBlock() {
147 if (!index_iter_.Valid()) {

Callers

nothing calls this directly

Calls 4

SaveErrorFunction · 0.85
iterMethod · 0.80
statusMethod · 0.45
SetMethod · 0.45

Tested by

no test coverage detected