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

Method compute_content_hash

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

Recompute the content hash from the current node state.

(&self)

Source from the content-addressed store, hash-verified

371
372 /// Recompute the content hash from the current node state.
373 pub fn compute_content_hash(&self) -> String {
374 content_hash(&self.hashing_value())
375 }
376
377 /// The value used for the substance hash: the reviewable definition with all
378 /// review state removed. Delegates to [`crate::proof::substance_view`].

Calls 2

content_hashFunction · 0.85
hashing_valueMethod · 0.45

Tested by 1