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

Method queueImages

source/base/StarAssets.cpp:515–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513}
514
515void Assets::queueImages(StringList const& paths) const {
516 queueAssets(paths.transformed([](String const& path) {
517 auto components = AssetPath::split(path);
518 validatePath(components, true, true);
519
520 return AssetId{AssetType::Image, std::move(components)};
521 }));
522}
523
524void Assets::queueImages(CaseInsensitiveStringSet const& paths) const {
525 MutexLocker assetsLocker(m_assetsMutex);

Callers

nothing calls this directly

Calls 2

validatePathFunction · 0.85
transformedMethod · 0.45

Tested by

no test coverage detected