pub struct RepoRef {
pub name: String,
pub upstream_url: String,
pub cache_dir: PathBuf,
}Expand description
A resolved repository: where to fetch it from and where it is cached.
Fields§
§name: StringNormalised repo path, e.g. group/team/foo.git. Used as the cache key
and as the sub-path under the cache root.
upstream_url: StringFull upstream clone URL.
cache_dir: PathBufOn-disk bare mirror directory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepoRef
impl RefUnwindSafe for RepoRef
impl Send for RepoRef
impl Sync for RepoRef
impl Unpin for RepoRef
impl UnsafeUnpin for RepoRef
impl UnwindSafe for RepoRef
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