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

Method compute_content_hash

atomic-canonical/src/node.rs:363–365  ·  view source on GitHub ↗

Recompute the content hash from the current node state.

(&self)

Source from the content-addressed store, hash-verified

361
362 /// Recompute the content hash from the current node state.
363 pub fn compute_content_hash(&self) -> String {
364 content_hash(&self.hashing_value())
365 }
366
367 /// The value used for the substance hash: the reviewable definition with all
368 /// review state removed. Delegates to [`crate::proof::substance_view`].

Calls 2

content_hashFunction · 0.85
hashing_valueMethod · 0.45

Tested by 1