libgit2

git_indexer_hash

Version:

Get the packfile's hash

A packfile's name is derived from the sorted hashing of all object names. This is only correct after the index has been written to disk.

Signature

const git_oid *git_indexer_hash(git_indexer *idx);

Parameters

In
idx

the indexer instance

Returns

Versions