Skip to content

Commit

Permalink
add @SInCE tags
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Nov 21, 2023
1 parent a1f60f5 commit f1411d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/lwt_inotify.mli
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,19 @@ type t
(** [create ()] returns a new inotify descriptor. *)
val create : unit -> t Lwt.t
val create' : unit -> t
(** @since 2.5 *)

(** [add_watch desc path events] sets up [desc] to watch for [events] occuring
to [path], and returns a watch descriptor. *)
val add_watch : t -> string -> Inotify.selector list -> Inotify.watch Lwt.t
val add_watch' : t -> string -> Inotify.selector list -> Inotify.watch
(** @since 2.5 *)


(** [rm_watch desc watch] stops [desc] from watching [watch]. *)
val rm_watch : t -> Inotify.watch -> unit Lwt.t
val rm_watch' : t -> Inotify.watch -> unit
(** @since 2.5 *)

(** [read desc] waits for an event to occur at [desc]. *)
val read : t -> Inotify.event Lwt.t
Expand Down

0 comments on commit f1411d4

Please sign in to comment.