Returned by SleepyPenguin::Inotify#take
. It is a Struct with the following elements:
wd - watch descriptor (unsigned Integer)
mask - mask of events (unsigned Integer)
cookie - unique cookie associated related events (for rename)
name - optional string name (may be nil)
The mask is a bitmask of the event flags accepted by Inotify#add_watch
and may also include the following flags:
:IGNORED - watch was removed
:ISDIR - event occured on a directory
:Q_OVERFLOW - event queue overflowed (wd is -1)
:UNMOUNT - filesystem containing watched object was unmounted
Use the Event#events
method to get an array of symbols for the matched events.
inotify_event.events => [ :MOVED_TO, ... ] source
Returns an array of symbolic event names based on the contents of the mask
field.
Parent: cEvent
Pages
Classes
Methods
mail archives: https://yhbt.net/sleepy-penguin/ public: sleepy-penguin@yhbt.net source code: git clone https://yhbt.net/sleepy_penguin.git