pub struct GitDiffProvider;Expand description
Default diff provider backed by git subprocess calls and unified diff parsing.
Trait Implementations§
Source§impl DiffProvider for GitDiffProvider
impl DiffProvider for GitDiffProvider
Source§fn parse_patch(&self, text: &str) -> Result<PortDiffParseResult, String>
fn parse_patch(&self, text: &str) -> Result<PortDiffParseResult, String>
Parse unified diff text and return changed ranges plus metadata.
Auto Trait Implementations§
impl Freeze for GitDiffProvider
impl RefUnwindSafe for GitDiffProvider
impl Send for GitDiffProvider
impl Sync for GitDiffProvider
impl Unpin for GitDiffProvider
impl UnsafeUnpin for GitDiffProvider
impl UnwindSafe for GitDiffProvider
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