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

Method hashing_value

atomic-canonical/src/memory.rs:115–117  ·  view source on GitHub ↗

The value used for the content hash: excludes both `proof` and `contentHash`. Delegates to [`crate::proof::hashing_view`].

(&self)

Source from the content-addressed store, hash-verified

113 /// The value used for the content hash: excludes both `proof` and
114 /// `contentHash`. Delegates to [`crate::proof::hashing_view`].
115 pub fn hashing_value(&self) -> Value {
116 crate::proof::hashing_view(&self.to_value())
117 }
118
119 /// Canonical bytes for signing (JCS of `signing_value`).
120 pub fn signing_bytes(&self) -> Vec<u8> {

Callers 1

compute_content_hashMethod · 0.45

Calls 2

hashing_viewFunction · 0.85
to_valueMethod · 0.45

Tested by

no test coverage detected