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

Method setContentIdentifier

source/core/StarBTreeDatabase.cpp:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void BTreeDatabase::setContentIdentifier(String contentIdentifier) {
60 WriteLocker writeLocker(m_lock);
61 checkIfOpen("setContentIdentifier", false);
62 m_contentIdentifier = std::move(contentIdentifier);
63}
64
65uint32_t BTreeDatabase::indexCacheSize() const {
66 SpinLocker lock(m_indexCacheSpinLock);

Callers 3

openDatabaseMethod · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected