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

Method as_bytes

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

Raw digest bytes, whose width is determined by [`Self::algorithm`].

(&self)

Source from the content-addressed store, hash-verified

571
572 /// Raw digest bytes, whose width is determined by [`Self::algorithm`].
573 pub fn as_bytes(&self) -> &[u8] {
574 &self.bytes
575 }
576}
577
578impl fmt::Debug for GitObjectId {

Callers 8

effect_lease_matches_oidFunction · 0.45
encode_operation_scopeFunction · 0.45
put_stringMethod · 0.45
put_hashMethod · 0.45
put_set_idMethod · 0.45
put_operation_idMethod · 0.45
put_working_copyMethod · 0.45
put_git_object_idMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected