[−][src]Trait git_checks::impl_prelude::BranchCheck
Interface for checks which runs once for the entire branch.
This is intended for checks which do not need to check the content, but instead, look at metadata such as the author or the topology of the branch.
Required methods
fn name(&self) -> &str
The name of the check.
fn check(&self, ctx: &CheckGitContext, commit: &CommitId) -> Result<CheckResult>
Run the check.
Implementors
impl BranchCheck for AllowRobot
[src]
impl BranchCheck for AllowRobot
fn name(&self) -> &str | [src] |
fn check(&self, ctx: &CheckGitContext, _: &CommitId) -> Result<CheckResult> | [src] |
impl BranchCheck for ReleaseBranch
[src]
impl BranchCheck for ReleaseBranch
fn name(&self) -> &str | [src] |
fn check(&self, ctx: &CheckGitContext, commit: &CommitId) -> Result<CheckResult> | [src] |
impl BranchCheck for ValidName
[src]
impl BranchCheck for ValidName
fn name(&self) -> &str | [src] |
fn check(&self, ctx: &CheckGitContext, _: &CommitId) -> Result<CheckResult> | [src] |