gitbox 2.1.3

Git toolbox to simplify adoption of conventional commits and semantic version, among other things.
Documentation
1
2
3
4
5
6
use crate::{domain::conventional_commit::ConventionalCommit, usecase::type_aliases::AnyError};

pub trait ConventionalCommitEgressRepository {
    fn create_commit(&self, commit: &ConventionalCommit) -> Result<(), AnyError>;
    fn create_empty_commit(&self, commit: &ConventionalCommit) -> Result<(), AnyError>;
}