class

Pylon::Watch::Inotify

Inherits Pylon::Fibers::Blocking < Reference < Object

Constants

READ_BUFFER_BYTES = 64 * 1024
WATCH_MASK = (((((((((LibInotify::IN_MODIFY | LibInotify::IN_ATTRIB) | LibInotify::IN_CLOSE_WRITE) | LibInotify::IN_MOVED_FROM) | LibInotify::IN_MOVED_TO) | LibInotify::IN_CREATE) | LibInotify::IN_DELETE) | LibInotify::IN_DELETE_SELF) | LibInotify::IN_MOVE_SELF) | LibInotify::IN_EXCL_UNLINK) | LibInotify::IN_ONLYDIR

Constructors

new(descriptor : Int32, wake_read : Int32, wake_write : Int32, root : String, ignores : Scan::Ignores, dirty_paths : DirtyPaths, brand : Brand)
Source

Class methods

open(root : String, ignores : Array(String), dirty_paths : DirtyPaths, *, brand : Brand) : Inotify | Problem
Source

Instance methods

close
Source
dirty_paths
Source
run_blocking
Source
watching?
Source