Set of codes corresponding to each kind of events. Some of these flags
are used to communicate with inotify, whereas the others are sent to
userspace by inotify notifying some events.
|
FLAG_COLLECTIONS = { ' EVENT_FLAGS ' : { ' IN_IGNORED ' : 32768, ' IN_Q ...
|
|
ALL_FLAGS = { ' ALL_EVENTS ' : 4095, ' IN_ACCESS ' : 1, ' IN_ATTRIB ' : ...
|
|
ALL_VALUES = { 1: ' IN_ACCESS ' , 2: ' IN_MODIFY ' , 4: ' IN_ATTRIB ' , ...
|
int
|
ALL_EVENTS
Alias for considering all of the events.
|
|
EVENT_FLAGS = { ' IN_IGNORED ' : 32768, ' IN_Q_OVERFLOW ' : 16384, ' I ...
|
int
|
IN_ACCESS
File was accessed.
|
int
|
IN_ATTRIB
Metadata changed.
|
int
|
IN_CLOSE_NOWRITE
Unwrittable file closed.
|
int
|
IN_CLOSE_WRITE
Writtable file was closed.
|
int
|
IN_CREATE
Subfile was created.
|
int
|
IN_DELETE
Subfile was deleted.
|
int
|
IN_DELETE_SELF
Self (watched item itself) was deleted.
|
int
|
IN_DONT_FOLLOW
don't follow a symlink (new in kernel 2.6.15).
|
int
|
IN_EXCL_UNLINK
Events are not generated for children after they have been unlinked
from the watched directory.
|
int
|
IN_IGNORED
File was ignored.
|
int
|
IN_ISDIR
Event occurred against dir.
|
int
|
IN_MASK_ADD
add to the mask of an already existing watch (new in kernel 2.6.14).
|
int
|
IN_MODIFY
File was modified.
|
int
|
IN_MOVED_FROM
File was moved from X.
|
int
|
IN_MOVED_TO
File was moved to Y.
|
int
|
IN_MOVE_SELF
Self (watched item itself) was moved.
|
int
|
IN_ONESHOT
Only send event once.
|
int
|
IN_ONLYDIR
only watch the path if it is a directory (new in kernel 2.6.15).
|
int
|
IN_OPEN
File was opened.
|
int
|
IN_Q_OVERFLOW
Event queued overflowed.
|
int
|
IN_UNMOUNT
Backing fs was unmounted.
|
|
OP_FLAGS = { ' IN_ACCESS ' : 1, ' IN_ATTRIB ' : 4, ' IN_CLOSE_NOWRITE ' ...
|
|
SPECIAL_FLAGS = { ' IN_DONT_FOLLOW ' : 33554432, ' IN_EXCL_UNLINK ' : ...
|