pub enum Diff {
Added(Rc<LogicalPath>),
Modified(Rc<LogicalPath>),
Deleted(Rc<LogicalPath>),
Renamed {
original: Vec<Rc<LogicalPath>>,
renamed: Vec<Rc<LogicalPath>>,
},
}
Expand description
Represents a change to a file
Variants
Added(Rc<LogicalPath>)
Modified(Rc<LogicalPath>)
Deleted(Rc<LogicalPath>)
Renamed
Implementations
This method returns the path associated with the diff. If there are multiple paths, it is the first path on the left hand side.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Diff
impl UnwindSafe for Diff
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more