pub struct Hg { /* private fields */ }Implementations§
Source§impl Hg
impl Hg
Sourcepub fn new(uri: &str, repo: &str) -> Hg
pub fn new(uri: &str, repo: &str) -> Hg
Git constructor
repoThe repository install pathuriThe repository remote url
use std::process::Command;
use installation_testing::hg::vcs::Hg;
let mut cargo = Command::new("ls");
let test = cargo.arg("-l");
let mut checker = Hg::new("https://www.selenic.com/repo/hello","/tmp/zuul");
checker.run(test).clean();pub fn run(&mut self, command: &mut Command) -> &mut Hg
Auto Trait Implementations§
impl Freeze for Hg
impl RefUnwindSafe for Hg
impl Send for Hg
impl Sync for Hg
impl Unpin for Hg
impl UnwindSafe for Hg
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