libgit2

git_reference_next

Version:

Get the next reference

Signature

int git_reference_next(git_reference **out, git_reference_iterator *iter);

Parameters

Out
out

pointer in which to store the reference

In
iter

the iterator

Returns

int

0, GIT_ITEROVER if there are no more; or an error code

Versions