package inotify

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Error of string * int
type select_event =
  1. | S_Access
  2. | S_Attrib
  3. | S_Close_write
  4. | S_Close_nowrite
  5. | S_Create
  6. | S_Delete
  7. | S_Delete_self
  8. | S_Modify
  9. | S_Move_self
  10. | S_Moved_from
  11. | S_Moved_to
  12. | S_Open
  13. | S_Dont_follow
  14. | S_Mask_add
  15. | S_Oneshot
  16. | S_Onlydir
  17. | S_Move
  18. | S_Close
  19. | S_All
type type_event =
  1. | Access
  2. | Attrib
  3. | Close_write
  4. | Close_nowrite
  5. | Create
  6. | Delete
  7. | Delete_self
  8. | Modify
  9. | Move_self
  10. | Moved_from
  11. | Moved_to
  12. | Open
  13. | Ignored
  14. | Isdir
  15. | Q_overflow
  16. | Unmount
type wd
type event = wd * type_event list * int32 * string option
val int_of_wd : wd -> int
val string_of_event : type_event -> string
val init : unit -> Unix.file_descr
val add_watch : Unix.file_descr -> string -> select_event list -> wd
val rm_watch : Unix.file_descr -> wd -> unit
val read : Unix.file_descr -> event list
OCaml

Innovation. Community. Security.