package inotify

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type selector =
  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 event_kind =
  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 watch
type event = watch * event_kind list * int32 * string option
val int_of_watch : watch -> int
val string_of_event_kind : event_kind -> string
val string_of_event : event -> string
val create : unit -> Unix.file_descr
val add_watch : Unix.file_descr -> string -> selector list -> watch
val rm_watch : Unix.file_descr -> watch -> unit
val read : Unix.file_descr -> event list
OCaml

Innovation. Community. Security.