pub struct Reverted {
pub written: Vec<String>,
pub deleted: Vec<String>,
pub moved: Vec<(String, String)>,
pub conflicts: Vec<String>,
pub skipped: Vec<(String, String)>,
}Expand description
What undoing a revision wrote into the copy.
Fields§
§written: Vec<String>The paths written: versions from before the revision, or merged with later ones.
deleted: Vec<String>The paths deleted: files and links that the revision added.
moved: Vec<(String, String)>The moves undone, from where to where.
conflicts: Vec<String>The paths where what came later clashes with undoing the revision: text with Git’s conflict markers, or another file with the version from before written beside it.
skipped: Vec<(String, String)>The paths left as they are, with why, whose part of the revision is not undone.
Trait Implementations§
impl Eq for Reverted
impl StructuralPartialEq for Reverted
Auto Trait Implementations§
impl Forget for Reverted
impl Freeze for Reverted
impl Move for Reverted
impl RefUnwindSafe for Reverted
impl Send for Reverted
impl Sync for Reverted
impl Unpin for Reverted
impl UnsafeUnpin for Reverted
impl UnwindSafe for Reverted
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.