MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / GitObjectId

Class GitObjectId

atomic-core/src/operation/mod.rs:545–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543/// Canonical Git object identity independent of `git2::Oid`.
544#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
545pub struct GitObjectId {
546 algorithm: GitHashAlgorithm,
547 bytes: Vec<u8>,
548}
549
550impl GitObjectId {
551 /// Construct and validate an algorithm-tagged object identity.

Callers 3

parse_tree_entriesFunction · 0.85
git_object_idFunction · 0.85
parse_gitlink_bytesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected