SlHelpers
SlGit::IndexIterator Class Reference

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

#include <Index.h>

Public Member Functions

IndexIteratoroperator++ ()
 Move to the next entry.
 
IndexIterator operator++ (int)=delete
 
IndexIteratoroperator-- ()=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: