Enum git_diff::tree::recorder::Change [−][src]
pub enum Change {
Addition {
entry_mode: EntryMode,
oid: ObjectId,
path: BString,
},
Deletion {
entry_mode: EntryMode,
oid: ObjectId,
path: BString,
},
Modification {
previous_entry_mode: EntryMode,
previous_oid: ObjectId,
entry_mode: EntryMode,
oid: ObjectId,
path: BString,
},
}
Expand description
A Change as observed by a call to visit(…)
, enhanced with the path affected by the change.
Its similar to visit::Change but includes the path that changed.
Variants
Fields of Modification
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Change
impl UnwindSafe for Change
Blanket Implementations
Mutably borrows from an owned value. Read more