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

Method fromString

valdi_core/src/valdi_core/cpp/Utils/StringBox.cpp:285–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285StringBox StringBox::fromString(const std::string& str) {
286 return fromString(std::string_view(str));
287}
288
289StringBox StringBox::fromString(std::string_view str) {
290 return StringCache::getGlobal().makeString(str);

Callers 1

getSnapshotMethod · 0.45

Calls 3

fromStringFunction · 0.85
getGlobalFunction · 0.85
makeStringMethod · 0.80

Tested by

no test coverage detected