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

Method deleteIndex

source/core/StarBTreeDatabase.cpp:611–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609}
610
611void BTreeDatabase::BTreeImpl::deleteIndex(Index index) {
612 parent->m_indexCache.remove(index->self);
613 parent->freeBlock(index->self);
614}
615
616auto BTreeDatabase::BTreeImpl::createLeaf() -> Leaf {
617 auto leaf = make_shared<LeafNode>();

Callers 2

tryFlattenMethod · 0.45
flattenVisitorMethod · 0.45

Calls 2

freeBlockMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected