pub struct GitCheck {
pub repo: GitRepository,
pub trigger: GitTriggerArgument,
}Expand description
A check to fetch and pull a local git repository.
This will update the repository, if there are any changes. In case there are any local changes, these might be erased.
Fields§
§repo: GitRepository§trigger: GitTriggerArgumentImplementations§
Source§impl GitCheck
impl GitCheck
Sourcepub fn open_inner(
directory: &str,
trigger: GitTriggerArgument,
) -> Result<Self, CheckError>
pub fn open_inner( directory: &str, trigger: GitTriggerArgument, ) -> Result<Self, CheckError>
Open the git repository at the given directory.
pub fn open( directory: &str, additional_host: Option<String>, trigger: GitTriggerArgument, ) -> Result<Self, CheckError>
pub fn set_auth(&mut self, auth: CredentialAuth)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GitCheck
impl RefUnwindSafe for GitCheck
impl Send for GitCheck
impl !Sync for GitCheck
impl Unpin for GitCheck
impl UnwindSafe for GitCheck
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more