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

Method WriteIndent

library/cpp/yson/writer.cpp:151–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 void TYsonWriter::WriteIndent() {
152 for (int i = 0; i < IndentSize * Depth; ++i) {
153 Stream->Write(' ');
154 }
155 }
156
157 bool TYsonWriter::IsTopLevelFragmentContext() const {
158 return Depth == 0 && (Type == ::NYson::EYsonType::ListFragment || Type == ::NYson::EYsonType::MapFragment);

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected