MCPcopy Create free account
hub / github.com/catboost/catboost / ToString

Method ToString

library/cpp/yt/yson_string/string.cpp:130–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130TString TYsonString::ToString() const
131{
132 return Visit(
133 Payload_,
134 [] (const TNullPayload&) -> TString {
135 YT_ABORT();
136 },
137 [&] (const TSharedRangeHolderPtr&) {
138 return TString(AsStringBuf());
139 },
140 [] (const TCowString& payload) {
141 return TString(payload);
142 });
143}
144
145TSharedRef TYsonString::ToSharedRef() const
146{

Callers 2

FormatValueFunction · 0.45

Calls 1

VisitFunction · 0.85

Tested by

no test coverage detected