MCPcopy Create free account
hub / github.com/Snapchat/Valdi / registerBundle

Method registerBundle

valdi/src/valdi/runtime/Resources/ResourceManager.cpp:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153BundleInitializer ResourceManager::registerBundle(const StringBox& bundleName) {
154 auto bundle = makeShared<Bundle>(bundleName, _logger);
155 _bundleByName[bundleName] = bundle;
156
157 return bundle->prepareForInit();
158}
159
160void ResourceManager::initializeBundle(BundleInitializer& bundleInitializer, Ref<ValdiModuleArchive> moduleArchive) {
161 static auto kDownloadManifestName = STRING_LITERAL("download_manifest");

Callers

nothing calls this directly

Calls 1

prepareForInitMethod · 0.80

Tested by

no test coverage detected