[−][src]Trait git_checks::impl_prelude::ContentCheck
Interface for checks which check the content of files.
These checks are not given any metadata, but only information about the content of a commit or topic.
Required methods
fn name(&self) -> &str
The name of the check.
fn check(
&self,
ctx: &CheckGitContext,
content: &dyn Content
) -> Result<CheckResult>
&self,
ctx: &CheckGitContext,
content: &dyn Content
) -> Result<CheckResult>
Run the check.
Implementors
impl ContentCheck for Changelog
[src]
impl ContentCheck for Changelog
fn name(&self) -> &str | [src] |
fn check( | [src] |
impl ContentCheck for CheckEndOfLine
[src]
impl ContentCheck for CheckEndOfLine
fn name(&self) -> &str | [src] |
fn check( | [src] |
impl ContentCheck for CheckExecutablePermissions
[src]
impl ContentCheck for CheckExecutablePermissions
fn name(&self) -> &str | [src] |
fn check( | [src] |
impl ContentCheck for CheckSize
[src]
impl ContentCheck for CheckSize
fn name(&self) -> &str | [src] |
fn check( | [src] |
impl ContentCheck for Formatting
[src]
impl ContentCheck for Formatting
fn name(&self) -> &str | [src] |
fn check( | [src] |
impl ContentCheck for InvalidPaths
[src]
impl ContentCheck for InvalidPaths
fn name(&self) -> &str | [src] |
fn check( | [src] |
impl ContentCheck for InvalidUtf8
[src]
impl ContentCheck for InvalidUtf8
fn name(&self) -> &str | [src] |
fn check( | [src] |
impl ContentCheck for LfsPointer
[src]
impl ContentCheck for LfsPointer
fn name(&self) -> &str | [src] |
fn check( | [src] |
impl ContentCheck for RejectBinaries
[src]
impl ContentCheck for RejectBinaries
fn name(&self) -> &str | [src] |
fn check( | [src] |
impl ContentCheck for RejectConflictPaths
[src]
impl ContentCheck for RejectConflictPaths
fn name(&self) -> &str | [src] |
fn check( | [src] |
impl ContentCheck for RejectSymlinks
[src]
impl ContentCheck for RejectSymlinks
fn name(&self) -> &str | [src] |
fn check( | [src] |
impl ContentCheck for RestrictedPath
[src]
impl ContentCheck for RestrictedPath
fn name(&self) -> &str | [src] |
fn check( | [src] |