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

Class BundleInitializer

valdi/src/valdi/runtime/Resources/Bundle.hpp:63–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61class Bundle;
62
63class BundleInitializer {
64public:
65 explicit BundleInitializer(Bundle* bundle);
66 ~BundleInitializer();
67
68 void initWithLocalArchive(Ref<ValdiModuleArchive> decompressedBundle, bool hasRemoteAssets);
69 void initWithRemoteArchive(bool hasRemoteAssets);
70
71 const Ref<Bundle>& getBundle() const;
72
73private:
74 Ref<Bundle> _bundle;
75 std::lock_guard<std::recursive_mutex> _lock;
76};
77
78struct BundleResourceContent {
79 BytesView raw;

Callers 1

prepareForInitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected