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

Method indexBlockCount

source/core/StarBTreeDatabase.cpp:255–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255uint32_t BTreeDatabase::indexBlockCount() {
256 ReadLocker readLocker(m_lock);
257 checkIfOpen("indexBlockCount", true);
258 // Indexes are simply one index per block
259 return m_impl.indexCount();
260}
261
262uint32_t BTreeDatabase::leafBlockCount() {
263 WriteLocker writeLocker(m_lock);

Callers 2

testBTreeDatabaseFunction · 0.80
TESTFunction · 0.80

Calls 1

indexCountMethod · 0.80

Tested by 2

testBTreeDatabaseFunction · 0.64
TESTFunction · 0.64