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

Method assetSourceMetadata

source/base/StarAssets.cpp:404–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404JsonObject Assets::assetSourceMetadata(String const& sourceName) const {
405 MutexLocker assetsLocker(m_assetsMutex);
406 return m_assetSourcePaths.getRight(sourceName)->metadata();
407}
408
409ByteArray Assets::digest() const {
410 MutexLocker assetsLocker(m_assetsMutex);

Callers 5

AssetsMethod · 0.95
makeRootCallbacksMethod · 0.80
ModsMenuMethod · 0.80
updateMethod · 0.80
openLinkMethod · 0.80

Calls 1

metadataMethod · 0.45

Tested by

no test coverage detected