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

Method substance_value

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

367 /// The value used for the substance hash: the reviewable definition with all
368 /// review state removed. Delegates to [`crate::proof::substance_view`].
369 pub fn substance_value(&self) -> serde_json::Value {
370 crate::proof::substance_view(&self.to_value())
371 }
372}
373
374/// 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