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

Method loadOperations

source/core/StarDirectives.cpp:115–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void Directives::loadOperations() const {
116 if (!m_shared)
117 return;
118
119 MutexLocker locker(m_shared->mutex, false);
120 if (!m_shared.unique())
121 locker.lock();
122 for (auto& entry : m_shared->entries)
123 entry.loadOperation(*m_shared);
124}
125
126void Directives::parse(String&& directives) {
127 if (directives.empty()) {

Callers 4

filterProcessingMethod · 0.80
calculateImageSizeMethod · 0.80
loadImageMethod · 0.80
modifyDirectivesMethod · 0.80

Calls 2

uniqueMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected