Struct git_checks::checks::RejectConflictPaths
[−]
[src]
pub struct RejectConflictPaths;
A check which denies paths which look like merge conflict resolution paths.
Sometimes after a merge, the files written to assist in resolving the conflict will be added accidentally.
Methods
impl RejectConflictPaths
[src]
Trait Implementations
impl Debug for RejectConflictPaths
[src]
impl Default for RejectConflictPaths
[src]
fn default() -> RejectConflictPaths
[src]
Returns the "default value" for a type. Read more
impl Clone for RejectConflictPaths
[src]
fn clone(&self) -> RejectConflictPaths
[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 RejectConflictPaths
[src]
impl ContentCheck for RejectConflictPaths
[src]
fn name(&self) -> &str
[src]
The name of the check.
fn check(&self, ctx: &CheckGitContext, content: &Content) -> Result<CheckResult>
[src]
Run the check.