MCPcopy Create free account
hub / github.com/XTXMarkets/ternfs / Iterator

Method Iterator

cpp/core/LogsDB.cpp:95–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 class Iterator {
94 public:
95 Iterator(const DataPartitions& partitions) : _partitions(partitions), _rotationCount(_partitions._rotationCount), _smaller(nullptr) {
96 _iterators = _partitions._getPartitionIterators();
97 }
98
99 void seek(LogIdx idx) {
100 if (unlikely(_rotationCount != _partitions._rotationCount)) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected