libgit2

git_indexer_stream_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_stream_hash(const git_indexer_stream *idx);

Parameters

In
idx

the indexer instance

Returns

Versions