Struct git_checks::checks::RejectSymlinks
[−]
[src]
pub struct RejectSymlinks;
Rejects the addition of symlinks to a repository.
Methods
impl RejectSymlinks
[src]
fn new() -> Self
Create a new check which rejects the addition of symlinks.
Trait Implementations
impl Debug for RejectSymlinks
[src]
impl Default for RejectSymlinks
[src]
fn default() -> RejectSymlinks
Returns the "default value" for a type. Read more
impl Clone for RejectSymlinks
[src]
fn clone(&self) -> RejectSymlinks
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for RejectSymlinks
[src]
impl Check for RejectSymlinks
[src]
fn name(&self) -> &str
The name of the check.
fn check(&self, _: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
Run the check.