pub struct GitDiff { /* private fields */ }Expand description
Git diff wrapper with enhanced functionality
Implementations§
Source§impl GitDiff
Implementation for GitDiff
impl GitDiff
Implementation for GitDiff
pub fn stats(&self) -> &DiffStats
pub fn config(&self) -> &DiffConfig
pub fn format_patch(&self) -> Result<String>
pub fn format_stats(&self) -> String
pub fn format_summary(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GitDiff
impl RefUnwindSafe for GitDiff
impl Send for GitDiff
impl Sync for GitDiff
impl Unpin for GitDiff
impl UnsafeUnpin for GitDiff
impl UnwindSafe for GitDiff
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more