Crate gix_hash

Source
Expand description

This crate provides types for identifying git objects using a hash digest.

These are provided in borrowed versions as well as an owned one.

§Feature Flags

  • serde — Data structures implement serde::Serialize and serde::Deserialize.

Modules§

decode
prefix

Structs§

Prefix
A partial, owned hash possibly identifying an object uniquely, whose non-prefix bytes are zeroed.
oid
A borrowed reference to a hash identifying objects.

Enums§

Error
The error returned when trying to convert a byte slice to an oid or ObjectId
Kind
Denotes the kind of function to produce a ObjectId.
ObjectId
An owned hash identifying objects, most commonly Sha1