git_index_find

Find the first position of any entries which point to given path in the Git index.

extern (C) nothrow @nogc public
int
git_index_find
(
size_t* at_pos
,,
const(char)* path
)

Parameters

at_pos size_t*

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

index libgit2.types.git_index*

an existing index object

path const(char)*

path to search

Return Value

Type: int

0 or an error code

Meta