| 490 | } |
| 491 | |
| 492 | void Assets::queueJsons(StringList const& paths) const { |
| 493 | queueAssets(paths.transformed([](String const& path) { |
| 494 | auto components = AssetPath::split(path); |
| 495 | validatePath(components, true, false); |
| 496 | |
| 497 | return AssetId{AssetType::Json, {components.basePath, {}, {}}}; |
| 498 | })); |
| 499 | } |
| 500 | |
| 501 | void Assets::queueJsons(CaseInsensitiveStringSet const& paths) const { |
| 502 | MutexLocker assetsLocker(m_assetsMutex); |