[−][src]Trait git_checks::TopicCheck
Interface for checks which runs once for the entire branch, but with access to the content.
These checks are given the content of the entire topic against a base branch to check.
Required methods
fn name(&self) -> &str
The name of the check.
fn check(&self, ctx: &CheckGitContext, topic: &Topic) -> Result<CheckResult>
Run the check.
Implementors
impl TopicCheck for CheckWhitespace
[src]
impl TopicCheck for CheckWhitespace
fn name(&self) -> &str | [src] |
fn check(&self, ctx: &CheckGitContext, topic: &Topic) -> Result<CheckResult> | [src] |
impl<T> TopicCheck for T where
T: ContentCheck,
[src]
impl<T> TopicCheck for T where
T: ContentCheck,
fn name(&self) -> &str | [src] |
fn check(&self, ctx: &CheckGitContext, topic: &Topic) -> Result<CheckResult> | [src] |