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

Method assetDescriptor

source/base/StarAssets.cpp:419–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419Maybe<Assets::AssetFileDescriptor> Assets::assetDescriptor(String const& path) const {
420 MutexLocker assetsLocker(m_assetsMutex);
421 return m_files.maybe(path);
422}
423
424String Assets::assetSource(String const& path) const {
425 MutexLocker assetsLocker(m_assetsMutex);

Callers 2

AssetsMethod · 0.95
makeRootCallbacksMethod · 0.80

Calls 1

maybeMethod · 0.45

Tested by

no test coverage detected