struct

Inotify::Event

Inherits Struct / Value / Object

Represents an inotify_event structure.

Constructors

Instance methods

directory?

Returns if the event occurred against a directory.

Source
mask

Contains bits that describe the event that occurred.

Source
mask=(mask : UInt32)

Contains bits that describe the event that occurred.

Source
name

Name of the file or directory that triggered the event. Always nil if #wd is associated with a file.

Source
name=(name : String | Nil)

Name of the file or directory that triggered the event. Always nil if #wd is associated with a file.

Source
path

Watched path this event occurred against, may be nil if we don't have the associated WatchInfo.

Source
path=(path : String | Nil)

Watched path this event occurred against, may be nil if we don't have the associated WatchInfo.

Source
type

Type of the event.

Source
type_is?(bits)

Returns whether the bits are set in #mask. Can be used with constants in LibInotify. Useful when #type is UNKNOWN.

Source
wd

Watch descriptor wd identifies the watch for which this event occurred.

Source

Nested types