Module dinotify
A tiny library to work with Linux's kernel inotify subsystem.
Functions
Name | Description |
iNotify()
|
Create new INotify struct
|
iNotifyTree(path, mask)
|
Create a INotifyTree to recusivly establish watches in path ,
using mask to choose which events to watch on.
|
Structs
Name | Description |
Event
|
D-ified inotify event, holds slice to temporary buffer with z-string.
|
INotifyTree
|
Track events in the whole directory tree, automatically adding watches to
any new sub-directories and stopping watches in the deleted ones.
|
TreeEvent
|
Event as returned by INotifyTree.
In constrast to Event, it has full path and no watch descriptor.
|
Watch
|
Type-safe watch descriptor to help discern it from normal file descriptors
|