package async_unix

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

Module Statx.AttrSource

Sourcetype t = private int

A set of flags.

Sourceval of_int : int -> t
Sourceval (+) : t -> t -> t

a + b is the union of the sets.

Sourceval mem : t -> t -> bool

mem x flags is true iff x is a subset of flags.

Sourceval compressed : t
Sourceval immutable : t
Sourceval append : t
Sourceval nodump : t
Sourceval encrypted : t
Sourceval verity : t
Sourceval dax : t

Since Linux 5.8

Sourceval check : ?mask:Int64.t -> Int64.t -> t -> bool

check ?mask attr t will check if t is set in attr.

If mask is not None then it will first check the mask to see if the file attribute is supported and if not raise Invalid_argument.

OCaml

Innovation. Community. Security.