libgit2

git_index_name_get_byindex

Version:

Get a filename conflict entry from the index.

The returned entry is read-only and should not be modified or freed by the caller.

Signature

const git_index_name_entry *git_index_name_get_byindex(git_index *index, size_t n);

Parameters

In
index

an existing index object

size_t
In
n

the position of the entry

Returns

a pointer to the filename conflict entry; NULL if out of bounds

Versions