Struct git_checks::checks::SubmoduleAvailable
source · pub struct SubmoduleAvailable { /* private fields */ }Expand description
Check that submodules are reachable from a given branch and available.
Implementations§
source§impl SubmoduleAvailable
impl SubmoduleAvailable
sourcepub fn require_first_parent(&mut self, require: bool) -> &mut Self
pub fn require_first_parent(&mut self, require: bool) -> &mut Self
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§
source§impl Check for SubmoduleAvailable
impl Check for SubmoduleAvailable
source§impl Clone for SubmoduleAvailable
impl Clone for SubmoduleAvailable
source§fn clone(&self) -> SubmoduleAvailable
fn clone(&self) -> SubmoduleAvailable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SubmoduleAvailable
impl Debug for SubmoduleAvailable
source§impl Default for SubmoduleAvailable
impl Default for SubmoduleAvailable
source§fn default() -> SubmoduleAvailable
fn default() -> SubmoduleAvailable
Returns the “default value” for a type. Read more