unison

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

fswatch.mli (509B)


      1 (* Unison file synchronizer: src/fswatch.mli *)
      2 (* Copyright 1999-2020, Benjamin C. Pierce (see COPYING for details) *)
      3 
      4 type archiveHash = string
      5 
      6 val start : archiveHash -> bool
      7 val running : archiveHash -> bool
      8 
      9 val startScanning : archiveHash -> Fspath.t -> Path.local -> unit
     10 val stopScanning : unit -> unit
     11 val scanDirectory : Path.local -> unit
     12 val followLink : Path.local -> unit
     13 
     14 val wait : archiveHash -> unit Lwt.t
     15 val getChanges : archiveHash -> Path.t list
     16 
     17 (****)
     18 
     19 val useWatcher : bool Prefs.t