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 finalized.

Signature

const git_oid *git_indexer_hash(const git_indexer *idx);

Parameters

In
idx

the indexer instance

Returns

Versions