[−][src]Trait git_checks::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>
Run the check.
Implementors
impl Check for BadCommits
[src]
fn name(&self) -> &str
[src]
fn check(&self, _: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
[src]
impl Check for CheckWhitespace
[src]
fn name(&self) -> &str
[src]
fn check(&self, ctx: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
[src]
impl Check for CommitSubject
[src]
fn name(&self) -> &str
[src]
fn check(&self, _: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
[src]
impl Check for RejectMerges
[src]
fn name(&self) -> &str
[src]
fn check(&self, _: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
[src]
impl Check for RejectSeparateRoot
[src]
fn name(&self) -> &str
[src]
fn check(&self, _: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
[src]
impl Check for SubmoduleAvailable
[src]
fn name(&self) -> &str
[src]
fn check(&self, ctx: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
[src]
impl Check for SubmoduleRewind
[src]
fn name(&self) -> &str
[src]
fn check(&self, ctx: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
[src]
impl Check for SubmoduleWatch
[src]
fn name(&self) -> &str
[src]
fn check(&self, ctx: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
[src]
impl Check for ThirdParty
[src]
fn name(&self) -> &str
[src]
fn check(&self, ctx: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
[src]
impl Check for ValidName
[src]
fn name(&self) -> &str
[src]
fn check(&self, _: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
[src]
impl<T> Check for T where
T: ContentCheck,
[src]
T: ContentCheck,