pub struct Entry {
pub x: char,
pub y: char,
pub unmerged: bool,
pub path: String,
pub orig: Option<String>,
pub submodule: Option<SubmoduleState>,
}Expand description
x/y are git’s XY codes (. = unchanged). Untracked is ?/?.
Fields§
§x: char§y: char§unmerged: bool§path: StringRepo-root relative.
orig: Option<String>Source path of a rename/copy.
submodule: Option<SubmoduleState>Set for a submodule (porcelain v2 S<c><m><u>), except in conflicts.
Trait Implementations§
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Forget for Entry
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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