pub struct Repo { /* private fields */ }
Implementations§
source§impl Repo
impl Repo
pub fn new(target: &str) -> Repo
pub fn sync(&self, file: &str) -> Result<String>
pub fn signature(&self, file: &str) -> Result<String>
pub fn clean(&self, package: &str) -> Result<String>
pub fn create(&self, package: &str) -> Result<String>
pub fn fetch_meta(&self, package: &str) -> Result<PackageMeta>
pub fn fetch(&self, package: &str) -> Result<Package>
pub fn extract(&self, package: &str) -> Result<String>
pub fn add_remote(&mut self, remote: &str)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Repo
impl Send for Repo
impl Sync for Repo
impl Unpin for Repo
impl UnwindSafe for Repo
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