package bos

  1. Overview
  2. Docs

Path permission modes.

Modes

type t = int

The type for file path permission modes.

val get : Fpath.t -> (t, 'e) result

get p is p is permission mode.

val set : Fpath.t -> t -> (unit, 'e) result

set p m sets p's permission mode to m.

OCaml

Innovation. Community. Security.