git_index_conflict_get

Get the index entries that represent a conflict of a single file.

The entries are not modifiable and should not be freed. Because the git_index_entry struct is a publicly defined struct, you should be able to make your own permanent copy of the data if necessary.

extern (C) nothrow @nogc
int
git_index_conflict_get

Parameters

ancestor_out const(.git_index_entry)**

Pointer to store the ancestor entry

our_out const(.git_index_entry)**

Pointer to store the our entry

their_out const(.git_index_entry)**

Pointer to store the their entry

index libgit2_d.types.git_index*

an existing index object

path const(char)*

path to search

Return Value

Type: int

0 or an error code

Meta