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

Method substance_value

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

The value used for the substance hash: the reviewable definition with all review state removed. Delegates to [`crate::proof::substance_view`].

(&self)

Source from the content-addressed store, hash-verified

384 /// The value used for the substance hash: the reviewable definition with all
385 /// review state removed. Delegates to [`crate::proof::substance_view`].
386 pub fn substance_value(&self) -> serde_json::Value {
387 crate::proof::substance_view(&self.to_value())
388 }
389}
390
391/// The `intentSubstanceHash` — a `blake3:<hex>` hash of the intent's reviewable

Callers 1

intent_substance_hashFunction · 0.80

Calls 2

substance_viewFunction · 0.85
to_valueMethod · 0.45

Tested by

no test coverage detected