pub struct ChangeDetector;Expand description
Detects file system changes between scans.
Compares current and previous file records by path, using size and modification time to detect modifications.
Implementations§
Source§impl ChangeDetector
impl ChangeDetector
Sourcepub fn detect(current: &[FileRecord], previous: &[FileRecord]) -> FileChanges
pub fn detect(current: &[FileRecord], previous: &[FileRecord]) -> FileChanges
Detect changes between current and previous file listings.
Files are matched by path. A file is considered modified if either its size or modification timestamp differs from the previous scan.
Auto Trait Implementations§
impl Freeze for ChangeDetector
impl RefUnwindSafe for ChangeDetector
impl Send for ChangeDetector
impl Sync for ChangeDetector
impl Unpin for ChangeDetector
impl UnsafeUnpin for ChangeDetector
impl UnwindSafe for ChangeDetector
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