pub enum Change {
Added,
Deleted,
Modified,
Renamed {
percent_changed: u8,
},
Copied {
percent_changed: u8,
},
}
Expand description
A change to a file in Git (or at least the kinds we care about)
Copies and renames have additional info: how much of the file remained the same.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnwindSafe for Change
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