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

Method id

atomic-repository/src/git_binding/codec.rs:492–498  ·  view source on GitHub ↗

The binding id over the canonical signed bytes.

(&self)

Source from the content-addressed store, hash-verified

490
491 /// The binding id over the canonical signed bytes.
492 pub fn id(&self) -> BindingId {
493 let mut hasher = blake3::Hasher::new();
494 hasher.update(ID_DOMAIN);
495 hasher.update(&self.payload_bytes);
496 hasher.update(&self.signature);
497 BindingId(*hasher.finalize().as_bytes())
498 }
499
500 /// Decode and fully validate canonical signed bytes.
501 ///

Calls 4

BindingIdClass · 0.85
updateMethod · 0.45
as_bytesMethod · 0.45
finalizeMethod · 0.45