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

Method versionedJsonCurrent

source/game/StarVersioningDatabase.cpp:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124bool VersioningDatabase::versionedJsonCurrent(VersionedJson const& versionedJson) const {
125 RecursiveMutexLocker locker(m_mutex);
126 return versionedJson.version == m_currentVersions.get(versionedJson.identifier);
127}
128
129VersionedJson VersioningDatabase::updateVersionedJson(VersionedJson const& versionedJson) const {
130 RecursiveMutexLocker locker(m_mutex);

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected