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

Method getResolvedURL

valdi_core/src/valdi_core/cpp/Resources/Asset.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38StringBox Asset::getResolvedURL() const {
39 auto resolvedLocation = getResolvedLocation();
40 if (!resolvedLocation) {
41 return StringBox();
42 }
43
44 return resolvedLocation.value().getUrl();
45}
46
47Ref<Asset> Asset::withDirection(bool /*rightToLeft*/) {
48 return strongSmallRef(this);

Callers 1

TEST_PFunction · 0.80

Calls 3

getUrlMethod · 0.80
valueMethod · 0.65
StringBoxClass · 0.50

Tested by 1

TEST_PFunction · 0.64