[−][src]Trait git_checks_core::Check
Interface for checks which run for each commit.
Required methods
fn name(&self) -> &str
The name of the check.
fn check(
&self,
ctx: &CheckGitContext,
commit: &Commit
) -> Result<CheckResult, Box<dyn Error>>
&self,
ctx: &CheckGitContext,
commit: &Commit
) -> Result<CheckResult, Box<dyn Error>>
Run the check.
Implementors
impl<T> Check for T where
T: ContentCheck,
[src]
T: ContentCheck,