Constant inotify_sys::IN_DELETE_SELF
source · pub const IN_DELETE_SELF: u32 = 0x00000400;
Expand description
Event: Watched file or directory was deleted
This may also occur if the object is moved to another filesystem, since mv(1) in effect copies the file to the other filesystem and then deletes it from the original.
An IN_IGNORED event will subsequently be generated.
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.
See man page for additional details.