Function commit

Source
pub fn commit(
    repo: &Repository,
    author: &Signature<'_>,
    committer: &Signature<'_>,
    message: &str,
    tree: &Tree<'_>,
    parents: &[&Commit<'_>],
    sign: Option<&dyn Sign>,
) -> Result<Oid, Error>
Expand description

Commit with signing support