Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect size only change #95

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jan 10, 2020

  1. added ScanNow()

    ScanNow() causes the file watch loop to run once, and ensures
    all events have been posted before returning. It allows the
    caller to "synchronize" with the pending watcher events, so
    is useful for batch updating after it is known file events
    have probably occurred.
    tul committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    f76f19a View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. Watcher now emits Write event for size only change

    On some file systems, multiple changes to the same file within
    the file system's mod time resolution would be missed. This
    issue can be ameliorated by triggering `Write` events if a
    size change is detected, even if no corresponding mod time
    change occurs.
    
    Changes to the file content without a change to the size or
    mod time will still go unnoticed.
    tul committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    fb21ff5 View commit details
    Browse the repository at this point in the history