FAN_EVENT_ON_CHILD in naughtyfy::flags - Rust
Description: Events for the immediate children of marked directories shall be created. The flag has no effect when marking mounts and filesystems. Note that events are not generated for children of the subdirectories of marked directories. More specifically, the directory entry modification events [`FAN_CREATE`], [`FAN_DELETE`], [`FAN_MOVED_FROM`], and [`FAN_MOVED_TO`] are not generated for any entry modifications performed inside subdirectories of marked directories. Note that the events [`FAN_DELETE_SELF`] and [`FAN_MOVE_SELF`] are not generated for children of marked directories. To monitor complete directory trees it is necessary to mark the relevant mount or filesystem.
Keywords: rust, rustlang, rust-lang, FAN_EVENT_ON_CHILD

# Constant naughtyfy::flags::FAN_EVENT_ON_CHILD

source ·

    pub const FAN_EVENT_ON_CHILD: u64 = 0x08000000;

Expand description

Events for the immediate children of marked directories shall be created. The flag has no effect when marking mounts and filesystems. Note that events are not generated for children of the subdirectories of marked directories. More specifically, the directory entry modification events `FAN_CREATE`, `FAN_DELETE`, `FAN_MOVED_FROM`, and `FAN_MOVED_TO` are not generated for any entry modifications performed inside subdirectories of marked directories. Note that the events `FAN_DELETE_SELF` and `FAN_MOVE_SELF` are not generated for children of marked directories. To monitor complete directory trees it is necessary to mark the relevant mount or filesystem.