Up

Module Inotify

Signature

type t = Async_inotify.t
type file_info = string * Async.Std.Unix.Stats.t
val create : ?modify_event_selector:[
| `Any_change
| `Closed_writable_fd
] -> ?recursive:bool -> ?watch_new_dirs:bool -> string -> (t * file_info list) Async.Std.Deferred.t
val stop : t -> unit Async.Std.Deferred.t
val add : t -> string -> unit Async.Std.Deferred.t
val add_all : ?skip_dir:(string * Async.Std.Unix.Stats.t -> bool Async.Std.Deferred.t) -> t -> string -> file_info list Async.Std.Deferred.t
val remove : t -> string -> unit Async.Std.Deferred.t
val stream : t -> Event.t Async.Std.Stream.t