Skip to main content

content_digest

Function content_digest 

Source
pub fn content_digest(json: &str) -> Result<String, WorkshopError>
Expand description

The deterministic content digest of catalog data: sha256 of the canonical (sorted-key, pretty) serialization of the parsed content with the self-referential digest field removed. Independent of file formatting; changes whenever any semantic content changes.