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

Method prepend

valdi_core/src/valdi_core/cpp/Utils/StringBox.cpp:225–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225StringBox StringBox::prepend(const StringBox& other) const noexcept {
226 return prepend(other.toStringView());
227}
228
229StringBox StringBox::prepend(const std::string_view& other) const noexcept {
230 if (other.empty()) {

Callers

nothing calls this directly

Calls 8

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

Tested by

no test coverage detected