Structs§
- AsyncI
Notify - Wraps an INotify object and provides asynchronous methods based on the inner object.
- inotify_
event - Describes an event.
Constants§
- IN_
ACCESS - Event: File was accessed.
- IN_
ALL_ EVENTS - Event: Any event occured.
- IN_
ATTRIB - Event: Metadata has changed.
- IN_
CLOEXEC - Flag: Set the FD_CLOEXEC flag
- IN_
CLOSE - Event: File opened was closed.
- IN_
CLOSE_ NOWRITE - Event: File not opened for writing was closed.
- IN_
CLOSE_ WRITE - Event: File opened for writing was closed.
- IN_
CREATE - Event: File or directory was created.
- IN_
DELETE - Event: File or directory was deleted.
- IN_
DELETE_ SELF - Event: Watched file or directory was deleted.
- IN_
DONT_ FOLLOW - Option: Don’t dereference (if self is a symlink).
- IN_
EXCL_ UNLINK - Option: Don’t watch unlinked children.
- IN_
IGNORED - Info: Watch was removed.
- IN_
ISDIR - Info: Subject of this event is a directory.
- IN_
MASK_ ADD - Option: Add events to an existing watch instead of replacing it.
- IN_
MODIFY - Event: File was modified.
- IN_MOVE
- Event: File or directory was moved away or in.
- IN_
MOVED_ FROM - Event: File or directory was moved away.
- IN_
MOVED_ TO - Event: File or directory was moved in.
- IN_
MOVE_ SELF - Event: Watched file or directory was moved.
- IN_
NONBLOCK - Flag: Set the O_NONBLOCK file status flag
- IN_
ONESHOT - Option: Listen for one event, then remove the watch.
- IN_
ONLYDIR - Option: Don’t watch children (if self is a directory).
- IN_OPEN
- Event: File was opened.
- IN_
Q_ OVERFLOW - Info: Event queue overflowed.
- IN_
UNMOUNT - Info: Filesystem containing self was unmounted.
Functions§
- close⚠
- inotify_
add_ ⚠watch - Manipulates the “watch list” associated with an inotify instance.
- inotify_
init ⚠ - Creates an inotify instance.
- inotify_
init1 ⚠ - Creates an inotify instance.
- inotify_
rm_ ⚠watch - Removes an item from an inotify watch list.
- read⚠