MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / remove

Method remove

source/core/StarBTreeDatabase.cpp:211–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211bool BTreeDatabase::remove(ByteArray const& k) {
212 WriteLocker writeLocker(m_lock);
213 checkKeySize(k);
214 return m_impl.remove(k);
215}
216
217uint64_t BTreeDatabase::recordCount() {
218 ReadLocker readLocker(m_lock);

Callers 4

storeIndexMethod · 0.45
deleteIndexMethod · 0.45
leafRemoveMethod · 0.45
freeBlockMethod · 0.45

Calls 2

sha256Function · 0.85
eraseAtMethod · 0.80

Tested by

no test coverage detected