pub trait Check: Debug + Send + Sync {
    fn name(&self) -> &str;
fn check(
        &self,
        ctx: &CheckGitContext,
        commit: &Commit
    ) -> Result<CheckResult, Box<dyn Error>>; }
Expand description

Interface for checks which run for each commit.

Required methods

The name of the check.

Run the check.

Implementors