FAN_ONDIR in naughtyfy::flags - Rust
Description: Create events for directories—for example, when opendir(3), readdir(3) (but see BUGS), and closedir(3) are called. Without this flag, events are created only for files. In the context of directory entry events, such as [`FAN_CREATE`], [`FAN_DELETE`], [`FAN_MOVED_FROM`], and [`FAN_MOVED_TO`], specifying the flag [`FAN_ONDIR`] is required in order to create events when subdirectory entries are modified (i.e., mkdir(2)/ rmdir(2)).
Keywords: rust, rustlang, rust-lang, FAN_ONDIR

# Constant naughtyfy::flags::FAN_ONDIR

source ·

    pub const FAN_ONDIR: u64 = 0x40000000;

Expand description

Create events for directories—for example, when opendir(3), readdir(3) (but see BUGS), and closedir(3) are called. Without this flag, events are created only for files. In the context of directory entry events, such as `FAN_CREATE`, `FAN_DELETE`, `FAN_MOVED_FROM`, and `FAN_MOVED_TO`, specifying the flag `FAN_ONDIR` is required in order to create events when subdirectory entries are modified (i.e., mkdir(2)/ rmdir(2)).