git_index_clear

Clear the contents (all the entries) of an index object.

This clears the index object in memory; changes must be explicitly written to disk for them to take effect persistently.

@param index an existing index object @return 0 on success, error code < 0 on failure

extern (C) nothrow @nogc
int
git_index_clear

Meta