libgit2

git_index_reuc_get_byindex

Version:

Get a resolve undo entry from the index.

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

Signature

const git_index_reuc_entry *git_index_reuc_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 resolve undo entry; NULL if out of bounds

Versions