git_index_version

Get index on-disk version.

Valid return values are 2, 3, or 4. If 3 is returned, an index with version 2 may be written instead, if the extension data in version 3 is not necessary.

extern (C) nothrow @nogc public
uint
git_index_version

Parameters

index libgit2.types.git_index*

An existing index object

Return Value

Type: uint

the index version

Meta