Trait radicle_surf::ToCommit
source · pub trait ToCommit {
type Error: Error + Send + Sync + 'static;
// Required method
fn to_commit(self, repo: &Repository) -> Result<Commit, Self::Error>;
}
Expand description
A common trait for anything that can convert to a Commit
.