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
int
git_index_new

Parameters

out_ libgit2_d.types.git_index**

the pointer for the new index

Return Value

Type: int

0 or an error code

Meta