libgit2

git_reference_iterator_new

Version:

Create an iterator for the repo's references

Signature

int git_reference_iterator_new(git_reference_iterator **out, git_repository *repo);

Parameters

In
out

pointer in which to store the iterator

In
repo

the repository

Returns

int

0 or an error code

Versions