Crate inotify [] [src]

Binding and wrapper for inotify.

Inotify is a linux kernel mechanism for monitoring changes to filesystems' contents.

The inotify API provides a mechanism for monitoring filesystem events. Inotify can be used to monitor individual files, or to monitor directories. When a directory is monitored, inotify will return events for the directory itself, and for files inside the directory.

See the man page for usage information of the C version, which this package follows closely.

Reexports

pub use self::watch_mask::WatchMask;
pub use self::event_mask::EventMask;

Modules

event_mask

Contains the EventMask flags

watch_mask

Contains the WatchMask flags

Structs

Event

An inotify event

Events

Iterates over inotify events

Inotify

Idiomatic Rust wrapper for Linux's inotify API

WatchDescriptor

Represents a file that inotify is watching