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