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 Freeze for Git
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