Home | Trees | Indices | Help |
---|
|
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.
|
|||
str |
|
|
|||
FLAG_COLLECTIONS = {'OP_FLAGS': {'IN_ACCESS': 0x00000001, 'IN_
|
|||
ALL_FLAGS = {}
|
|||
ALL_VALUES = {}
|
|||
int |
ALL_EVENTS Alias for considering all of the events. |
||
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_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. |
|
Returns the event name associated to mask. IN_ISDIR is appended to the result when appropriate. Note: only one event is returned, because only one event can be raised at a given time.
|
|
FLAG_COLLECTIONS
|
IN_DONT_FOLLOWdon't follow a symlink (new in kernel 2.6.15). IN_ONLYDIR we can make sure that we don't watch the target of symlinks.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Jun 4 05:29:56 2010 | http://epydoc.sourceforge.net |