Struct git_checks::checks::LfsPointer
[−]
[src]
pub struct LfsPointer;
A check verifies that files meant to be under LFS control are valid LFS pointers.
Methods
impl LfsPointer
[src]
fn new() -> Self
[src]
Create a check verifies that files meant to be under LFS control are valid LFS pointers.
This is based on the filter
attribute for a file being set to lfs
.
Trait Implementations
impl Debug for LfsPointer
[src]
impl Default for LfsPointer
[src]
fn default() -> LfsPointer
[src]
Returns the "default value" for a type. Read more
impl Clone for LfsPointer
[src]
fn clone(&self) -> LfsPointer
[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 LfsPointer
[src]
impl ContentCheck for LfsPointer
[src]
fn name(&self) -> &str
[src]
The name of the check.
fn check(&self, ctx: &CheckGitContext, content: &Content) -> Result<CheckResult>
[src]
Run the check.