git_branch_iterator_new

Create an iterator which loops over the requested branches.

Parameters

out_ .git_branch_iterator**

the iterator

repo libgit2_d.types.git_repository*

Repository where to find the branches.

list_flags libgit2_d.types.git_branch_t

Filtering flags for the branch listing. Valid values are git_branch_t.GIT_BRANCH_LOCAL, git_branch_t.GIT_BRANCH_REMOTE or git_branch_t.GIT_BRANCH_ALL.

Return Value

Type: int

0 on success or an error code

Meta