Modulehinotify-0.4.2Haskell2010
System.INotify
A Haskell binding to INotify.
See http://www.kernel.org/pub/linux/kernel/people/rml/inotify/ and man
inotify.
Use initINotify to get a INotify, then use addWatch to add a watch on a file or directory. Select which events you're interested in with EventVariety, which corresponds to the Event events.
Use removeWatch once you don't want to watch a file any more.
- 5 types
- 5 values
- Packagehinotify-0.4.2
- Exports10
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceINotify.hsc
Instances2Eq, Show
Eq WatchDescriptorDefined in hinotify-0.4.2 · System.INotifyShow WatchDescriptorDefined in hinotify-0.4.2 · System.INotify
Constructors
AccessedA file was accessed.
Accessed isDirectory fileModifiedA file was modified.
Modified isDirectory fileAttributesA files attributes where changed.
Attributes isDirectory fileClosedA file was closed.
Closed isDirectory file wasWriteableOpenedA file was opened.
Opened isDirectory maybeFilePathMovedOutA file was moved away from the watched dir.
MovedFrom isDirectory from cookieMovedInA file was moved into the watched dir.
MovedTo isDirectory to cookieMovedSelfThe watched file was moved.
MovedSelf isDirectoryisDirectory :: Bool
CreatedA file was created.
Created isDirectory fileDeletedA file was deleted.
Deleted isDirectory fileDeletedSelfThe file watched was deleted.
UnmountedThe file watched was unmounted.
QOverflowThe queue overflowed.
IgnoredUnknown FDEvent
Instances1Eq
Eq EventVarietyDefined in hinotify-0.4.2 · System.INotify