Struct git2::DiffStats [−][src]
pub struct DiffStats { /* fields omitted */ }Expand description
Structure describing a hunk of a diff.
Implementations
impl DiffStats[src]
impl DiffStats[src]pub fn files_changed(&self) -> usize[src]
pub fn files_changed(&self) -> usize[src]Get the total number of files chaned in a diff.
pub fn insertions(&self) -> usize[src]
pub fn insertions(&self) -> usize[src]Get the total number of insertions in a diff