pub enum Record {
FileMove {
new_name: String,
del: Change,
add: Change,
},
FileDel {
name: String,
del: Change,
},
FileAdd {
name: String,
add: Change,
},
Change {
file: Rc<PathBuf>,
change: Change,
conflict_reordering: Vec<Change>,
},
Replace {
file: Rc<PathBuf>,
adds: Change,
dels: Change,
conflict_reordering: Vec<Change>,
},
}
Semantic groups of changes, for interface purposes.
Fields of FileMove
Fields of FileDel
Fields of FileAdd
Fields of Change
Fields of Replace
Formats the value using the given formatter.
Which kind of iterator are we turning this into?
The type of the elements being iterated over.