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

Method isLocalResource

valdi_core/src/valdi_core/cpp/Resources/Asset.cpp:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 if (!resolvedLocation) {
28 return false;
29 }
30
31 return !resolvedLocation.value().isLocal();
32}
33
34bool Asset::isLocalResource() const {
35 auto resolvedLocation = getResolvedLocation();
36 if (!resolvedLocation) {
37 return false;
38 }
39

Callers 1

TEST_PFunction · 0.80

Calls 2

isLocalMethod · 0.80
valueMethod · 0.65

Tested by 1

TEST_PFunction · 0.64