SlHelpers
Loading...
Searching...
No Matches
SlGit::Buf Class Reference

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.

Detailed Description

Buf is a representation of a git buffer.


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/slhelpers-20260428.f233ce9-build/slhelpers-20260428.f233ce9/include/git/Buf.h