pub struct GitClient;
Implementations§
Source§impl GitClient
impl GitClient
pub async fn clone_repository_to_versioned_path( &self, repo_url: &str, tag: &str, base_path: &str, ) -> Result<String, Box<dyn Error>>
pub async fn fetch_latest(&self, repo_dir: &str) -> Result<(), Box<dyn Error>>
pub async fn checkout_tag( &self, repo_dir: &str, tag: &str, ) -> Result<(), Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for GitClient
impl RefUnwindSafe for GitClient
impl Send for GitClient
impl Sync for GitClient
impl Unpin for GitClient
impl UnwindSafe for GitClient
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