Trait git_checks::impl_prelude::BranchCheck [] [src]

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

Interface for checks which runs once for the entire branch.

Required Methods

The name of the check.

Run the check.

Implementors