Registry / utility / gix-hash

gix-hash

JSON →
library0.25.1rscratesunverified

Borrowed and owned git hash digests used to identify git objects.

# Cargo.toml [dependencies] gix-hash = "0.25.1"
INSTALL
IMPORT
SIG · GIX-HASH
G
gix-hash
utilityrustv0.25.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ObjectId
use gix_hash::ObjectId;

Create a git object ID from a hex string.

use gix_hash::ObjectId; fn main() { let id = ObjectId::from_hex(b"abc123def456abc123def456abc123def4567890").unwrap(); println!("Hash: {}", id); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.25.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
gix-hash — cargo add gix-hash · libregistry