git_index_checksum

Get the checksum of the index

This checksum is the SHA-1 hash over the index file (except the last 20 bytes which are the checksum itself). In cases where the index does not exist on-disk, it will be zeroed out.

@param index an existing index object @return a pointer to the checksum of the index

extern (C) nothrow @nogc
git_index_checksum

Meta