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

Method hashing_value

atomic-canonical/src/memory.rs:108–110  ·  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

106 /// The value used for the content hash: excludes both `proof` and
107 /// `contentHash`. Delegates to [`crate::proof::hashing_view`].
108 pub fn hashing_value(&self) -> Value {
109 crate::proof::hashing_view(&self.to_value())
110 }
111
112 /// Canonical bytes for signing (JCS of `signing_value`).
113 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