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.

@deprecated this function is deprecated with no replacement @param index an existing index object @return a pointer to the checksum of the index

  1. const(libgit2.oid.git_oid)* git_index_checksum(libgit2.types.git_index* index)
    version(!GIT_DEPRECATE_HARD)
    extern (C) nothrow @nogc public
    git_index_checksum
  2. const(libgit2.oid.git_oid)* git_index_checksum(libgit2.types.git_index* index)

Meta