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

Method append

valdi_core/src/valdi_core/cpp/Utils/StringBox.cpp:243–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243StringBox StringBox::append(const StringBox& other) const noexcept {
244 if (isEmpty()) {
245 return other;
246 }
247
248 return append(other.toStringView());
249}
250
251std::optional<uint32_t> StringBox::toUInt32() const noexcept {
252 auto sv = toStringView();

Callers

nothing calls this directly

Calls 9

isEmptyFunction · 0.85
getGlobalFunction · 0.85
makeStringMethod · 0.80
appendMethod · 0.65
appendFunction · 0.50
lengthFunction · 0.50
toStringViewMethod · 0.45
reserveMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected