module Event : sig ... end
val create : ?modify_event_selector:[ `Any_change | `Closed_writable_fd ] ‑> ?recursive:bool ‑> ?watch_new_dirs:bool ‑> string ‑> (t * file_info list) Async.Deferred.t
create path
create an inotify watching path. Returns the inotify type t itself
and the list of files currently being watched. By default, recursively watches all
subdirectories of the given path.
val add_all : ?skip_dir:((string * Async.Unix.Stats.t) ‑> bool Async.Deferred.t) ‑> t ‑> string ‑> file_info list Async.Deferred.t
add_all t path
adds the path to t recursively