package async_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t

A statx struct.

type kind = [
  1. | `Unknown
  2. | `Fifo
  3. | `Character_special
  4. | `Directory
  5. | `Block_device
  6. | `Regular_file
  7. | `Socket
]
val create : unit -> t

Use create to make a statx result buffer to pass to statx.

module Flags : sig ... end
module Attr : sig ... end
module Mask : sig ... end

You may wish to use Mask.check to verify the field has actually been returned with a sensible value first.

val blksize : t -> Stdlib.Int64.t
val attributes : t -> Stdlib.Int64.t
val uid : t -> Stdlib.Int64.t
val gid : t -> Stdlib.Int64.t
val ino : t -> Stdlib.Int64.t
val size : t -> Stdlib.Int64.t
val blocks : t -> Stdlib.Int64.t
val attributes_mask : t -> Stdlib.Int64.t
val rdev : t -> Stdlib.Int64.t
val dev : t -> Stdlib.Int64.t
val mask : t -> Stdlib.Int64.t
val mnt_id : t -> Stdlib.Int64.t
val dio_mem_align : t -> Stdlib.Int64.t
val dio_offset_align : t -> Stdlib.Int64.t
val atime_sec : t -> int64
val btime_sec : t -> int64
val ctime_sec : t -> int64
val mtime_sec : t -> int64
val atime_nsec : t -> int
val btime_nsec : t -> int
val ctime_nsec : t -> int
val mtime_nsec : t -> int
val mode : t -> int
val perm : t -> int
val kind : t -> kind
OCaml

Innovation. Community. Security.