libgit2

git_blob_id

Version:

Get the id of a blob.

Signature

const git_oid *git_blob_id(const git_blob *blob);

Parameters

In
blob

a previously loaded blob.

Returns

SHA1 hash for this blob.

Versions