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

Returns

int

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

Versions