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

Method cleanup

source/game/StarObjectDatabase.cpp:327–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327void ObjectDatabase::cleanup() {
328 MutexLocker locker(m_cacheMutex);
329 m_configCache.cleanup([](String const&, ObjectConfigPtr const& config) {
330 return !config.unique();
331 });
332}
333
334StringList ObjectDatabase::allObjects() const {
335 return m_paths.keys();

Callers

nothing calls this directly

Calls 1

uniqueMethod · 0.45

Tested by

no test coverage detected