libgit2

git_index_remove

Version:

Remove an entry from the index

Signature

int git_index_remove(git_index *index, int position);

Parameters

In
index

an existing index object

int
In
position

position of the entry to remove

Returns

int

0 on success, otherwise an error code

Versions