Struct git_checks::checks::CheckEndOfLine
[−]
[src]
pub struct CheckEndOfLine;
Check for files which lack an end-of-line at the end of the file.
Methods
impl CheckEndOfLine[src]
Trait Implementations
impl Debug for CheckEndOfLine[src]
impl Default for CheckEndOfLine[src]
fn default() -> CheckEndOfLine[src]
Returns the "default value" for a type. Read more
impl Clone for CheckEndOfLine[src]
fn clone(&self) -> CheckEndOfLine[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for CheckEndOfLine[src]
impl ContentCheck for CheckEndOfLine[src]
fn name(&self) -> &str[src]
The name of the check.
fn check(&self, _: &CheckGitContext, content: &Content) -> Result<CheckResult>[src]
Run the check.