libgit2

git_index_entry_is_conflict

Version:

Return whether the given index entry is a conflict (has a high stage entry). This is simply shorthand for git_index_entry_stage > 0.

Signature

int git_index_entry_is_conflict(const git_index_entry *entry);

Parameters

In
entry

The entry

Returns

int

1 if the entry is a conflict entry, 0 otherwise

Versions