enum Inotify::Event::Type

Overview

Event types corresponding to the ones in LibInotify.

Defined in:

inotify/event.cr

Enum Members

UNKNOWN = 0
ACCESS = 1
MODIFY = 2
ATTRIB = 4
CLOSE_WRITE = 8
CLOSE_NOWRITE = 16
OPEN = 32
MOVED_FROM = 64
MOVED_TO = 128
CREATE = 256
DELETE = 512
DELETE_SELF = 1024
MOVE_SELF = 2048
CLOSE = 24
MOVE = 192
UNMOUNT = 8192
Q_OVERFLOW = 16384
IGNORED = 32768

Constructors

Instance Method Summary

Constructor Detail

def self.parse(mask : UInt32) : self #

Parses the given mask and returns the event type or UNKNOWN.


[View source]

Instance Method Detail

def access? #

[View source]
def attrib? #

[View source]
def close? #

[View source]
def close_nowrite? #

[View source]
def close_write? #

[View source]
def create? #

[View source]
def delete? #

[View source]
def delete_self? #

[View source]
def ignored? #

[View source]
def modify? #

[View source]
def move? #

[View source]
def move_self? #

[View source]
def moved_from? #

[View source]
def moved_to? #

[View source]
def open? #

[View source]
def q_overflow? #

[View source]
def unknown? #

[View source]
def unmount? #

[View source]