Inotify::Watcher
Constructors
Instance methods
finalize
Sourceunwatch(path : String)
Removes an item from an inotify watch list based on its path. Returns true on success.
NOTE: path is case sensitive and has to be an exact match, to what was passed into #watch.
unwatch(wd : LibC::Int)
Removes an item from an inotify watch list based on its watch descriptor wd.
Returns true on success, otherwise raises.
Adds a new watch, or modifies an existing watch, for the path specified. Optional: The events to be monitored can be specified in the mask bit-mask argument.