libgit2

git_index_write

Version:

Write an existing index object from memory back to disk using an atomic file lock.

Signature

int git_index_write(git_index *index);

Parameters

In
index

an existing index object

Returns

int

GIT_SUCCESS or an error code

Versions