Struct git_checks::checks::CheckWhitespace [−][src]
pub struct CheckWhitespace;
Checks for bad whitespace using Git's built-in checks. This is attribute-driven, so any
gitattributes(5) files may be used to suppress spirious errors from this check.
Methods
impl CheckWhitespace[src]
impl CheckWhitespaceTrait Implementations
impl Debug for CheckWhitespace[src]
impl Debug for CheckWhitespacefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for CheckWhitespace[src]
impl Default for CheckWhitespacefn default() -> CheckWhitespace[src]
fn default() -> CheckWhitespaceReturns the "default value" for a type. Read more
impl Clone for CheckWhitespace[src]
impl Clone for CheckWhitespacefn clone(&self) -> CheckWhitespace[src]
fn clone(&self) -> CheckWhitespaceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for CheckWhitespace[src]
impl Copy for CheckWhitespaceimpl Check for CheckWhitespace[src]
impl Check for CheckWhitespacefn name(&self) -> &str[src]
fn name(&self) -> &strThe name of the check.
fn check(&self, ctx: &CheckGitContext, commit: &Commit) -> Result<CheckResult>[src]
fn check(&self, ctx: &CheckGitContext, commit: &Commit) -> Result<CheckResult>Run the check.
impl TopicCheck for CheckWhitespace[src]
impl TopicCheck for CheckWhitespacefn name(&self) -> &str[src]
fn name(&self) -> &strThe name of the check.
fn check(&self, ctx: &CheckGitContext, topic: &Topic) -> Result<CheckResult>[src]
fn check(&self, ctx: &CheckGitContext, topic: &Topic) -> Result<CheckResult>Run the check.
Auto Trait Implementations
impl Send for CheckWhitespace
impl Send for CheckWhitespaceimpl Sync for CheckWhitespace
impl Sync for CheckWhitespace