git_index_reuc_find

Finds the resolve undo entry that points to the given path in the Git index.

package extern (C) nothrow @nogc
int
git_index_reuc_find
(
size_t* at_pos
,,
const(char)* path
)

Parameters

at_pos size_t*

the address to which the position of the reuc entry is written (optional)

index libgit2_d.types.git_index*

an existing index object

path const(char)*

path to search

Return Value

Type: int

0 if found, < 0 otherwise (git_error_code.GIT_ENOTFOUND)

Meta