diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-04-06 23:47:48 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-04-08 16:51:41 +0300 |
commit | a16982956c5e87d9b2f238522d902df177ece98e (patch) | |
tree | 71f049508596a2004b872d8b5fbdeaf473148696 /libbutl/manifest-rewriter.mxx | |
parent | 89659b66de7611e9a3f33e7354493ac1c540fe70 (diff) |
Add support for manifest_serializer long lines mode
Diffstat (limited to 'libbutl/manifest-rewriter.mxx')
-rw-r--r-- | libbutl/manifest-rewriter.mxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libbutl/manifest-rewriter.mxx b/libbutl/manifest-rewriter.mxx index 6cba682..8ad22b3 100644 --- a/libbutl/manifest-rewriter.mxx +++ b/libbutl/manifest-rewriter.mxx @@ -50,7 +50,10 @@ LIBBUTL_MODEXPORT namespace butl class LIBBUTL_SYMEXPORT manifest_rewriter { public: - manifest_rewriter (path); + // Unless long_lines is true, break lines in values (see + // manifest_serializer for details). + // + manifest_rewriter (path, bool long_lines = false); // Replace the existing value at the specified position (specifically, // between colon_pos and end_pos) with the specified new value. The new @@ -70,6 +73,7 @@ LIBBUTL_MODEXPORT namespace butl private: path path_; + bool long_lines_; auto_fd fd_; }; } |