git_odb_hash

Determine the object-ID (sha1 hash) of a data buffer

The resulting SHA-1 OID will be the identifier for the data buffer as if the data buffer it were to written to the ODB.

@param out_ the resulting object-ID. @param data data to hash @param len size of the data @param type of the data to hash @return 0 or an error code

extern (C) nothrow @nogc
int
git_odb_hash

Meta