libgit2

git_index_read

Version:

Update the contents of an existing index object in memory by reading from the hard disk.

Signature

int git_index_read(git_index *index);

Parameters

In
index

an existing index object

Returns

int

0 on success, otherwise an error code

Versions