pub struct DiffManager {}
Implementations§
Source§impl DiffManager
impl DiffManager
pub fn parse( format: &DiffFormat, diff: &str, ) -> Result<DiffComposition, ParseError>
pub fn apply(comp: &DiffComposition, root: &Path) -> Result<(), DiffError>
pub fn revert(comp: &DiffComposition, root: &Path) -> Result<(), DiffError>
Auto Trait Implementations§
impl Freeze for DiffManager
impl RefUnwindSafe for DiffManager
impl Send for DiffManager
impl Sync for DiffManager
impl Unpin for DiffManager
impl UnwindSafe for DiffManager
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