git_index_new

Create an in-memory index object.

This index object cannot be read/written to the filesystem, but may be used to perform in-memory index operations.

The index must be freed once it's no longer in use.

extern (C) nothrow @nogc public
int
git_index_new

Parameters

out_ libgit2.types.git_index**

the pointer for the new index

Return Value

Type: int

0 or an error code

Meta