pub fn fetch(self, remote: &str) -> GitFuture<'io, ()> {
        let r1 = String::from(remote);
        let r2 = String::from(remote);
        Box::new(
            self.spawn_with(move |c| c.arg("fetch").arg("--prune").arg(r1))
                .and_then(move |_| {
                    self.spawn_with(|c| c.arg("fetch").arg("--tags").arg("--prune").arg(r2))
                })
                .map(|_| ()),
        )
    }
/// Fetch the tags and refs of a remote.
Fetch the tags and refs of a remote.
Fetch the tags and refs of a remote .
pub fn fetch(self, remote: &str) -> GitFuture<'io, ()> {
        let r1 = String::from(remote);
        let r2 = String::from(remote);
        Box::new(
            self.spawn_with(move |c| c.arg("fetch").arg("--prune").arg(r1))
                .and_then(move |_| {
                    self.spawn_with(|c| c.arg("fetch").arg("--tags").arg("--prune").arg(r2))
                })
                .map(|_| ()),
        )
    }
pub fn fetch ( self , remote : & str ) -> GitFuture < ' io , ( ) > { let r1 = String :: from ( remote ) ; let r2 = String :: from ( remote ) ; Box :: new ( self . spawn_with ( move | c | c . arg ( " " ) . arg ( " " ) . arg ( r1 ) ) . and_then ( move | _ | { self . spawn_with ( | c | c . arg ( " " ) . arg ( " " ) . arg ( " " ) . arg ( r2 ) ) } ) . map ( | _ | ( ) ) , ) }
Fetch the tags and refs of a remote.
Fetch the tags and refs of a remote .
self
remote
&str
self
remote
&str