Struct git_checks::checks::SubmoduleAvailable
[−]
[src]
pub struct SubmoduleAvailable { /* fields omitted */ }
Check that submodules are reachable from a given branch and available.
Methods
impl SubmoduleAvailable
[src]
fn new() -> Self
[src]
Checks that submodules in the project are available.
fn require_first_parent(&mut self, require: bool) -> &mut Self
[src]
Sets whether a first parent history is required to reach the commit.
If the merge commit of the submodule into the tracked branch should be required, set this flag.
Trait Implementations
impl Debug for SubmoduleAvailable
[src]
impl Default for SubmoduleAvailable
[src]
fn default() -> SubmoduleAvailable
[src]
Returns the "default value" for a type. Read more
impl Clone for SubmoduleAvailable
[src]
fn clone(&self) -> SubmoduleAvailable
[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 SubmoduleAvailable
[src]
impl Check for SubmoduleAvailable
[src]
fn name(&self) -> &str
[src]
The name of the check.
fn check(&self, ctx: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
[src]
Run the check.