libgit2

git_index_conflict_iterator_new

Version:

Create an iterator for the conflicts in the index.

The index must not be modified while iterating; the results are undefined.

Signature

int git_index_conflict_iterator_new(git_index_conflict_iterator **iterator_out, git_index *index);

Parameters

In
iterator_out

The newly created conflict iterator

In
index

The index to scan

Returns

int

0 or an error code

Versions