util: buffer: Add support for adding text blocks with indentation
The current auto-indentation buffer code applies indentation only on complete strings. To allow adding a string containing newlines and having it properly indented this patch adds virBufferAddStr. (cherry picked from commit 6ff59cbc)
Showing
想要评论请 注册 或 登录