Struct installation_testing::git::vcs::Git
source · pub struct Git { /* private fields */ }
Implementations§
source§impl Git
impl Git
sourcepub fn new(uri: &str, repo: &str) -> Git
pub fn new(uri: &str, repo: &str) -> Git
Git constructor
repo
The repository install pathuri
The repository remote url
use installation_testing::git::vcs::Git;
use std::process::Command;
let mut cargo = Command::new("cargo");
let test = cargo.arg("build");
let mut checker = Git::new("https://github.com/taishingi/zuu","/tmp/zuu");
checker.run(test).clean();
pub fn run(&mut self, command: &mut Command) -> &mut Git
Auto Trait Implementations§
impl RefUnwindSafe for Git
impl Send for Git
impl Sync for Git
impl Unpin for Git
impl UnwindSafe for Git
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