Struct git_checks::checks::SubmoduleRewind
[−]
[src]
pub struct SubmoduleRewind;
Check that submodules are not rewound to older revisions.
Methods
impl SubmoduleRewind
[src]
fn new() -> Self
Checks that submodules in the project always move forward.
Trait Implementations
impl Debug for SubmoduleRewind
[src]
impl Default for SubmoduleRewind
[src]
fn default() -> SubmoduleRewind
Returns the "default value" for a type. Read more
impl Clone for SubmoduleRewind
[src]
fn clone(&self) -> SubmoduleRewind
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 SubmoduleRewind
[src]
impl Check for SubmoduleRewind
[src]
fn name(&self) -> &str
The name of the check.
fn check(&self, ctx: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
Run the check.