aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson_pull/writer.cpp
diff options
context:
space:
mode:
authorMikhail Borisov <borisov.mikhail@gmail.com>2022-02-10 16:45:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:39 +0300
commita6a92afe03e02795227d2641b49819b687f088f8 (patch)
treef6984a1d27d5a7ec88a6fdd6e20cd5b7693b6ece /library/cpp/yson_pull/writer.cpp
parentc6dc8b8bd530985bc4cce0137e9a5de32f1087cb (diff)
downloadydb-a6a92afe03e02795227d2641b49819b687f088f8.tar.gz
Restoring authorship annotation for Mikhail Borisov <borisov.mikhail@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yson_pull/writer.cpp')
-rw-r--r--library/cpp/yson_pull/writer.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/library/cpp/yson_pull/writer.cpp b/library/cpp/yson_pull/writer.cpp
index 1df92bf40f..566b248714 100644
--- a/library/cpp/yson_pull/writer.cpp
+++ b/library/cpp/yson_pull/writer.cpp
@@ -1,30 +1,30 @@
-#include "writer.h"
+#include "writer.h"
#include <library/cpp/yson_pull/detail/writer.h>
-
-using namespace NYsonPull;
-
-TWriter NYsonPull::MakeBinaryWriter(
- THolder<NOutput::IStream> stream,
+
+using namespace NYsonPull;
+
+TWriter NYsonPull::MakeBinaryWriter(
+ THolder<NOutput::IStream> stream,
EStreamType mode) {
- return NYsonPull::NDetail::make_writer<NYsonPull::NDetail::TBinaryWriterImpl>(
- std::move(stream),
+ return NYsonPull::NDetail::make_writer<NYsonPull::NDetail::TBinaryWriterImpl>(
+ std::move(stream),
mode);
-}
-
-TWriter NYsonPull::MakeTextWriter(
- THolder<NOutput::IStream> stream,
+}
+
+TWriter NYsonPull::MakeTextWriter(
+ THolder<NOutput::IStream> stream,
EStreamType mode) {
- return NYsonPull::NDetail::make_writer<NYsonPull::NDetail::TTextWriterImpl>(
- std::move(stream),
+ return NYsonPull::NDetail::make_writer<NYsonPull::NDetail::TTextWriterImpl>(
+ std::move(stream),
mode);
-}
-
-TWriter NYsonPull::MakePrettyTextWriter(
- THolder<NOutput::IStream> stream,
- EStreamType mode,
+}
+
+TWriter NYsonPull::MakePrettyTextWriter(
+ THolder<NOutput::IStream> stream,
+ EStreamType mode,
size_t indent_size) {
- return NYsonPull::NDetail::make_writer<NYsonPull::NDetail::TPrettyWriterImpl>(
- std::move(stream),
- mode,
+ return NYsonPull::NDetail::make_writer<NYsonPull::NDetail::TPrettyWriterImpl>(
+ std::move(stream),
+ mode,
indent_size);
-}
+}