libgit2

git_status_byindex

Version:

Get a pointer to one of the entries in the status list.

The entry is not modifiable and should not be freed.

Signature

const git_status_entry *git_status_byindex(git_status_list *statuslist, size_t idx);

Parameters

In
statuslist

Existing status list object

size_t
In
idx

Position of the entry

Returns

Pointer to the entry; NULL if out of bounds

Versions