pub struct UninstallReport {
pub hooks_dir: PathBuf,
pub pre_commit_removed: bool,
pub pre_push_removed: bool,
pub pre_commit_chain_restored: bool,
pub pre_push_chain_restored: bool,
}Expand description
Result of an uninstall pass.
Fields§
§hooks_dir: PathBuf§pre_commit_removed: booltrue if the hook existed and was ours (removed).
false if no hook existed (nothing to do).
Errors if the hook existed but wasn’t ours.
pre_push_removed: bool§pre_commit_chain_restored: booltrue if a <hook>.aperion-backup chain partner was restored
in place of the removed hook (i.e. user had a prior hook chained
by --chain-existing; we put it back).
pre_push_chain_restored: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for UninstallReport
impl RefUnwindSafe for UninstallReport
impl Send for UninstallReport
impl Sync for UninstallReport
impl Unpin for UninstallReport
impl UnsafeUnpin for UninstallReport
impl UnwindSafe for UninstallReport
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