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

Iterator returned from Index::begin(). More...

#include <Index.h>

Public Member Functions

IndexIterator & operator++ ()
 Move to the next entry.
IndexIterator operator++ (int)=delete
IndexIterator & operator-- ()=delete
IndexIterator operator-- (int)=delete
bool operator== (const IndexIterator &other) const noexcept
 Compare with other.
bool operator!= (const IndexIterator &other) const noexcept
 Compare with other.
const git_index_entry & operator* () const noexcept
 Get entry from this IndexIterator.
const git_index_entry * operator-> () const noexcept
 Get entry from this IndexIterator.
std::string path () const noexcept
 Get path from this IndexIterator (as a string).
std::string_view pathSV () const noexcept
 Get path from this IndexIterator (as a string_view).
GitTy * iterator () const noexcept
 Get the stored pointer to libgit2's git_index_entry.
 operator GitTy * () const noexcept
 Alias for iterator() – implicit conversion.

Friends

class Index
class Repo

Detailed Description

Iterator returned from Index::begin().


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