package fileutils

  1. Overview
  2. Docs

Module FileUtilUMASKSource

Sourceexception UmaskError of string
Sourcetype umask_error = [
  1. | `Exc of exn
  2. | `NoStickyBit of int
]
Sourceval umask : ?error:(string -> [ `Exc of exn | `NoStickyBit of int ] -> unit) -> ?mode:[< `Octal of int | `Symbolic of FileUtilMode.t ] -> [< `Octal of int -> 'a | `Symbolic of [> `Group of [> `Set of [> `List of [> `Exec | `Read | `Sticky | `StickyO | `Write ] list ] ] | `Other of [> `Set of [> `List of [> `Exec | `Read | `Sticky | `StickyO | `Write ] list ] ] | `User of [> `Set of [> `List of [> `Exec | `Read | `Sticky | `StickyO | `Write ] list ] ] ] list -> 'a ] -> 'a
Sourceval umask_apply : int -> int