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

Method toString

valdi/src/valdi/runtime/Resources/AssetKey.cpp:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53StringBox AssetKey::toString() const {
54 if (isURL()) {
55 return getUrl();
56 } else {
57 return STRING_FORMAT("{}/{}", getBundle()->getName(), getPath());
58 }
59}
60
61std::ostream& operator<<(std::ostream& os, const Valdi::AssetKey& k) noexcept {
62 os << k.toString();

Callers

nothing calls this directly

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected