pub struct DiffEngine;Implementations§
Source§impl DiffEngine
impl DiffEngine
Sourcepub fn compare(before_root: &Path, after_root: &Path) -> Result<Vec<DiffEntry>>
pub fn compare(before_root: &Path, after_root: &Path) -> Result<Vec<DiffEntry>>
Compare two directory trees.
Paths matching ignore rules are excluded from the result.
Sourcepub fn compare_with_ignore(
before_root: &Path,
after_root: &Path,
ignore: &IgnoreRules,
) -> Result<Vec<DiffEntry>>
pub fn compare_with_ignore( before_root: &Path, after_root: &Path, ignore: &IgnoreRules, ) -> Result<Vec<DiffEntry>>
Compare with explicit ignore rules.
Auto Trait Implementations§
impl Freeze for DiffEngine
impl RefUnwindSafe for DiffEngine
impl Send for DiffEngine
impl Sync for DiffEngine
impl Unpin for DiffEngine
impl UnsafeUnpin for DiffEngine
impl UnwindSafe for DiffEngine
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