git_branch_next

Retrieve the next branch from the iterator

Parameters

out_ libgit2_d.types.git_reference**

the reference

out_type libgit2_d.types.git_branch_t*

the type of branch (local or remote-tracking)

iter .git_branch_iterator*

the branch iterator

Return Value

Type: int

0 on success, git_error_code.GIT_ITEROVER if there are no more branches or an error code.

Meta