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

Method algorithm

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

Hash algorithm used by this object identity.

(&self)

Source from the content-addressed store, hash-verified

566
567 /// Hash algorithm used by this object identity.
568 pub fn algorithm(&self) -> GitHashAlgorithm {
569 self.algorithm
570 }
571
572 /// Raw digest bytes, whose width is determined by [`Self::algorithm`].
573 pub fn as_bytes(&self) -> &[u8] {

Callers 7

git_tree_oidMethod · 0.45
to_git2_oidFunction · 0.45
fromMethod · 0.45
put_git_object_idMethod · 0.45
validate_git_algorithmsFunction · 0.45
validate_v2Method · 0.45
from_domainMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected