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

Method dropEntry

cpp/core/LogsDB.cpp:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 }
133
134 void dropEntry() {
135 ALWAYS_ASSERT(_rotationCount == _partitions._rotationCount);
136 auto cfIdx = _cfIndexForCurrentIterator();
137 ROCKS_DB_CHECKED(_partitions._sharedDb.db()->Delete({}, _partitions._partitions[cfIdx].cf, _smaller->key()));
138 }
139
140 private:
141 void _updateSmaller() {

Callers 1

dropEntriesAfterIdxMethod · 0.80

Calls 3

DeleteMethod · 0.80
dbMethod · 0.80
keyMethod · 0.80

Tested by

no test coverage detected