unison

Fork of Unison, a bi-directional file synchronization tool
git clone git://git.laack.co/unison.git
Log | Files | Refs | README | LICENSE

lwt_inotify.mli (344B)


      1 (* Unison file synchronizer: src/monitoring-linux/lwt_inotify.mli *)
      2 (* Copyright 2012, Benjamin C. Pierce (see COPYING for details) *)
      3 
      4 type t
      5 
      6 val init : unit -> t
      7 val add_watch : t -> string -> Inotify.select_event list -> Inotify.wd
      8 val rm_watch : t -> Inotify.wd -> unit
      9 val read : t -> Inotify.event Lwt.t
     10 val close : t -> unit (*Lwt.t*)