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

Method substance_value

atomic-canonical/src/node.rs:379–381  ·  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

377 /// The value used for the substance hash: the reviewable definition with all
378 /// review state removed. Delegates to [`crate::proof::substance_view`].
379 pub fn substance_value(&self) -> serde_json::Value {
380 crate::proof::substance_view(&self.to_value())
381 }
382}
383
384/// 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