diff options
Diffstat (limited to 'libbutl/manifest-serializer.hxx')
-rw-r--r-- | libbutl/manifest-serializer.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libbutl/manifest-serializer.hxx b/libbutl/manifest-serializer.hxx index 89c162c..d95ddf1 100644 --- a/libbutl/manifest-serializer.hxx +++ b/libbutl/manifest-serializer.hxx @@ -51,6 +51,13 @@ namespace butl void comment (const std::string&); + // Merge the manifest value and a comment into the single string, having + // the '<value>; <comment>' form. Escape ';' characters in the value with + // the backslash. + // + static std::string + merge_comment (const std::string& value, const std::string& comment); + private: void check_name (const std::string&); |