git_index_iterator_new

Create an iterator that will return every entry contained in the index at the time of creation. Entries are returned in order, sorted by path. This iterator is backed by a snapshot that allows callers to modify the index while iterating without affecting the iterator.

extern (C) nothrow @nogc
int
git_index_iterator_new

Parameters

iterator_out libgit2_d.types.git_index_iterator**

The newly created iterator

index libgit2_d.types.git_index*

The index to iterate

Meta