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 CheckWhitespace
Trait Implementations
impl Debug for CheckWhitespace
[src]
impl Debug for CheckWhitespace
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for CheckWhitespace
[src]
impl Default for CheckWhitespace
fn default() -> CheckWhitespace
[src]
fn default() -> CheckWhitespace
Returns the "default value" for a type. Read more
impl Clone for CheckWhitespace
[src]
impl Clone for CheckWhitespace
fn clone(&self) -> CheckWhitespace
[src]
fn clone(&self) -> CheckWhitespace
Returns 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 CheckWhitespace
impl Check for CheckWhitespace
[src]
impl Check for CheckWhitespace
fn name(&self) -> &str
[src]
fn name(&self) -> &str
The 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 CheckWhitespace
fn name(&self) -> &str
[src]
fn name(&self) -> &str
The 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 CheckWhitespace
impl Sync for CheckWhitespace
impl Sync for CheckWhitespace