Struct git_checks::checks::AllowRobot
[−]
[src]
pub struct AllowRobot { /* fields omitted */ }
A check to allow robots to skip all checks.
Methods
impl AllowRobot
[src]
fn new(identity: Identity) -> Self
[src]
Create a new check to allow robots to skip checks.
Any actions performed by the identity are waved through and all other checks are ignored.
Trait Implementations
impl Debug for AllowRobot
[src]
impl BranchCheck for AllowRobot
[src]
fn name(&self) -> &str
[src]
The name of the check.
fn check(&self, ctx: &CheckGitContext, _: &CommitId) -> Result<CheckResult>
[src]
Run the check.