pub struct RepoCandidate {
pub path: PathBuf,
pub repo_name: String,
}Expand description
A git repository discovered under a configured root (deduped by common-dir).
Fields§
§path: PathBuf§repo_name: StringCanonical repo name from --git-common-dir (computed once during dedup).
Trait Implementations§
Source§impl Clone for RepoCandidate
impl Clone for RepoCandidate
Source§fn clone(&self) -> RepoCandidate
fn clone(&self) -> RepoCandidate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RepoCandidate
impl RefUnwindSafe for RepoCandidate
impl Send for RepoCandidate
impl Sync for RepoCandidate
impl Unpin for RepoCandidate
impl UnsafeUnpin for RepoCandidate
impl UnwindSafe for RepoCandidate
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