Struct git_checks::checks::BadCommits
[−]
[src]
pub struct BadCommits { /* fields omitted */ }Check for commits which should not be in the history.
Methods
impl BadCommits[src]
fn new<I>(bad_commits: I) -> Self where
I: IntoIterator,
I::Item: ToString, [src]
I: IntoIterator,
I::Item: ToString,
Create a new check which checks for and denies branches with the given bad commits.
Trait Implementations
impl Debug for BadCommits[src]
impl Check for BadCommits[src]
fn name(&self) -> &str[src]
The name of the check.
fn check(&self, _: &CheckGitContext, commit: &Commit) -> Result<CheckResult>[src]
Run the check.