libgit2

git_packbuilder_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 packfile has been written.

Signature

const git_oid *git_packbuilder_hash(git_packbuilder *pb);

Parameters

In
pb

The packbuilder object

Returns

Versions