Struct git_checks::checks::SubmoduleWatch
[−]
[src]
pub struct SubmoduleWatch { /* fields omitted */ }
Check that submodules are reachable from a given branch and available.
Methods
impl SubmoduleWatch
[src]
fn new() -> Self
[src]
Checks that submodules in the project are available.
fn reject_additions(&mut self, reject: bool) -> &mut Self
[src]
Configure whether additions of submodules are allowed.
fn reject_removals(&mut self, reject: bool) -> &mut Self
[src]
Configure whether removals of submodules are allowed.
Trait Implementations
impl Debug for SubmoduleWatch
[src]
impl Default for SubmoduleWatch
[src]
fn default() -> SubmoduleWatch
[src]
Returns the "default value" for a type. Read more
impl Clone for SubmoduleWatch
[src]
fn clone(&self) -> SubmoduleWatch
[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 SubmoduleWatch
[src]
impl Check for SubmoduleWatch
[src]
fn name(&self) -> &str
[src]
The name of the check.
fn check(&self, ctx: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
[src]
Run the check.