pub struct Repository {
pub source: PathBuf,
pub common_dir: PathBuf,
pub remote: Option<String>,
pub identity: String,
}Expand description
Identity, location and selected remote of a backing Git repository.
Fields§
§source: PathBufPath to the backing repository.
common_dir: PathBufGit administration directory shared by the repository’s worktrees.
remote: Option<String>Remote selected for branch resolution or fetch.
identity: StringStable identifier used to match repository observations.
Trait Implementations§
Source§impl Clone for Repository
impl Clone for Repository
Auto Trait Implementations§
impl Forget for Repository
impl Freeze for Repository
impl Move for Repository
impl RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl UnsafeUnpin for Repository
impl UnwindSafe for Repository
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