Trait git_checks::Check [] [src]

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

Interface for checks which run for each commit.

Required Methods

The name of the check.

Run the check.

Implementors