Skip to content

Latest commit

 

History

History
 
 

notify-debouncer-full

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Notify Debouncer Full

» Docs

A debouncer for notify that is optimized for ease of use.

  • Only emits a single Rename event if the rename From and To events can be matched
  • Merges multiple Rename events
  • Takes Rename events into account and updates paths for events that occurred before the rename event, but which haven't been emitted, yet
  • Optionally keeps track of the file system IDs all files and stiches rename events together (FSevents, Windows)
  • Emits only one Remove event when deleting a directory (inotify)
  • Doesn't emit duplicate create events
  • Doesn't emit Modify events after a Create event

Features

  • crossbeam enabled by default, for crossbeam channel support.

    This may create problems used in tokio environments. See #380.
    Use something like the following to disable it.

    notify-debouncer-full = { version = "*", default-features = false }

    This also passes through to notify as crossbeam-channel feature.

    On MacOS, when disabling default features, enable either the macos_fsevent feature or, on latest MacOS, the macos_kqueue feature to be passed through to notify.

    # Using FSEvents
    notify-debouncer-full = { version = "*", default-features = false, features = ["macos_fsevent"] }
    
    # Using Kernel Queues
    notify-debouncer-full = { version = "*", default-features = false, features = ["macos_kqueue"] }