libgit2

git_index_iterator_next

Version:

Return the next index entry in-order from the iterator.

Signature

int git_index_iterator_next(const git_index_entry **out, git_index_iterator *iterator);

Parameters

In
out

Pointer to store the index entry in

In
iterator

The iterator

Returns

int

0, GIT_ITEROVER on iteration completion or an error code

Versions