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

Method setCSSDocument

valdi/src/valdi/runtime/Resources/Bundle.cpp:263–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263void Bundle::setCSSDocument(const StringBox& path, const Ref<CSSDocument>& cssDocument) {
264 std::lock_guard<std::recursive_mutex> guard(_mutex);
265 _cssDocumentByPath[path] = cssDocument;
266}
267
268bool Bundle::hasModuleLoadStrategy() {
269 return hasEntry(loadStrategyFilePath());

Callers 1

updateResourcesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected