libgit2

git_index_has_conflicts

Version:

Determine if the index contains entries representing file conflicts.

Signature

int git_index_has_conflicts(const git_index *index);

Parameters

In
index

An existing index object.

Returns

int

1 if at least one conflict is found, 0 otherwise.

Versions