Constant inotify_sys::IN_CREATE
source · pub const IN_CREATE: u32 = 0x00000100;
Expand description
Event: File or directory was created in watched directory
This may also include hard links, symlinks, and UNIX sockets.
This constant can be passed to inotify_add_watch
, to register interest
in this type of event, or it can be used to check (via inotify_event
’s
mask
field) whether an event is of this type.
When monitoring a directory, this event will be triggered only for files within the directory.
See man page for additional details.