Struct asyncgit::sync::diff::FileDiff [−][src]
pub struct FileDiff {
pub hunks: Vec<Hunk>,
pub lines: usize,
pub untracked: bool,
pub sizes: (u64, u64),
pub size_delta: i64,
}
Expand description
collection of hunks, sum of all diff lines
Fields
hunks: Vec<Hunk>
list of hunks
lines: usize
lines total summed up over hunks
untracked: bool
sizes: (u64, u64)
old and new file size in bytes
size_delta: i64
size delta in bytes
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileDiff
impl UnwindSafe for FileDiff
Blanket Implementations
Mutably borrows from an owned value. Read more
Cast to integer, truncating Read more
Cast to the nearest integer Read more
Cast the floor to an integer Read more
Try converting to integer with truncation Read more
Try converting to the nearest integer Read more
Try converting the floor to an integer Read more
Try convert the ceiling to an integer Read more