pub struct CleanupCommand<'a> { /* private fields */ }Expand description
cleanup: drop ignore entries whose fingerprint no longer matches anything.
In dry run the file is read and reported on but never written, so the command can be pointed at a repository whose ignore file is under review.
Implementations§
Source§impl<'a> CleanupCommand<'a>
impl<'a> CleanupCommand<'a>
pub const fn new( root: &'a Path, result: &'a AnalysisResult, dry_run: bool, ) -> Self
Auto Trait Implementations§
impl<'a> Freeze for CleanupCommand<'a>
impl<'a> RefUnwindSafe for CleanupCommand<'a>
impl<'a> Send for CleanupCommand<'a>
impl<'a> Sync for CleanupCommand<'a>
impl<'a> Unpin for CleanupCommand<'a>
impl<'a> UnsafeUnpin for CleanupCommand<'a>
impl<'a> UnwindSafe for CleanupCommand<'a>
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