|
SlHelpers
|
Buf is a representation of a git buffer. More...
#include <Buf.h>
Public Member Functions | |
| Buf (const Buf &other)=delete | |
| Buf | operator= (const Buf &other)=delete |
| Buf (Buf &&other) noexcept | |
| Move constructor. | |
| Buf & | operator= (Buf &&other) noexcept |
| Move assignment. | |
| std::string_view | sv () const noexcept |
| Get this Buf as a string_view. | |
| std::string | str () const noexcept |
| Get this Buf as a string. | |
| git_buf & | buf () |
| Get the stored libgit2's git_buf. | |
| const git_buf & | buf () const |
| Get the stored libgit2's git_buf. | |
| operator const git_buf * () const | |
| Alias for buf() – implicit conversion. | |
Buf is a representation of a git buffer.