Skip to main content

content_resource

Function content_resource 

pub fn content_resource(hash: &str) -> Option<String>
Expand description

Build the canonical resource address for content-addressed bytes.

Empty hashes and hashes containing the address separator are refused so a malformed producer cannot create an ambiguous resource address.