Module File.Open_flag

Flags for use with Luv.File.open_. See the flags in open(3p).

type t = [
  1. | `RDONLY
  2. | `WRONLY
  3. | `RDWR
  4. | `CREAT
  5. | `EXCL
  6. | `EXLOCK
  7. | `NOCTTY
  8. | `NOFOLLOW
  9. | `TEMPORARY
  10. | `TRUNC
  11. | `APPEND
  12. | `DIRECT
  13. | `DSYNC
  14. | `FILEMAP
  15. | `NOATIME
  16. | `NONBLOCK
  17. | `RANDOM
  18. | `SEQUENTIAL
  19. | `SHORT_LIVED
  20. | `SYNC
]

`FILEMAP requires libuv 1.31.0.

Feature check: Luv.Require.(has fs_o_filemap)