Skip to main content

sign

Function sign 

Source
fn sign(
    did: &str,
    tree: &Tree,
    rev: &str,
    prev: Option<Cid>,
    key: &SigningKey,
) -> SignedCommit
Expand description

Writes and signs the commit over a tree.