Skip to main content

ipld_resolve

Function ipld_resolve 

Source
pub async fn ipld_resolve(path: &str, format: &OutputFormat) -> Result<()>
Expand description

Resolve an IPLD path and print the value.

path must follow the format /ipld/<cid-string>/field/subfield/0. The block is fetched from local storage, decoded as DAG-CBOR, and the given sub-path is traversed.