dinotify

A tiny library to work with Linux's kernel inotify subsystem.

Members

Functions

iNotify
auto iNotify()

Create new INotify struct

iNotifyTree
auto iNotifyTree(string path, uint mask)

Create a INotifyTree to recusivly establish watches in path, using mask to choose which events to watch on.

iNotifyTree
auto iNotifyTree(string[] roots, uint mask)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Event
struct Event

D-ified inotify event, holds slice to temporary buffer with z-string.

INotify
struct INotify
Undocumented in source.
INotifyTree
struct INotifyTree

Track events in the whole directory tree, automatically adding watches to any new sub-directories and stopping watches in the deleted ones.

TreeEvent
struct TreeEvent

Event as returned by INotifyTree. In constrast to Event, it has full path and no watch descriptor.

Watch
struct Watch

Type-safe watch descriptor to help discern it from normal file descriptors

Meta