package fileutils

  1. Overview
  2. Docs
API to manipulate files (POSIX like) and filenames

Install

Dune Dependency

Authors

Maintainers

Sources

fileutils-v0.6.1.tbz
sha256=458a540eb8e01be1a13e0e71ba6206c5e36635046e696aeb37e0848a14a5375d
sha512=11693d51b2dd5ff4d955d9e1843d758f63e9e0690c1a3b9c31709e052f3cc7dcb9fd1fd7e20baabe1ecae750f8fde9e762b1097b72ff2f0f5d5afbc6fba680f9

doc/fileutils/FileUtilMode/index.html

Module FileUtilModeSource

Sourcetype who = [
  1. | `User
  2. | `Group
  3. | `Other
  4. | `All
]
Sourcetype wholist = [
  1. | who
  2. | `List of who list
]
Sourcetype permcopy = [
  1. | `User
  2. | `Group
  3. | `Other
]
Sourcetype perm = [
  1. | `Read
  2. | `Write
  3. | `Exec
  4. | `ExecX
  5. | `Sticky
  6. | `StickyO
]
Sourcetype permlist = [
  1. | perm
  2. | `List of perm list
]
Sourcetype actionarg = [
  1. | permlist
  2. | permcopy
]
Sourcetype action = [
  1. | `Set of actionarg
  2. | `Add of actionarg
  3. | `Remove of actionarg
]
Sourcetype actionlist = [
  1. | action
  2. | `List of action list
]
Sourcetype clause = [
  1. | `User of actionlist
  2. | `Group of actionlist
  3. | `Other of actionlist
  4. | `All of actionlist
  5. | `None of actionlist
]
Sourcetype t = clause list
Sourceval all_masks : ([> `Group | `Other | `User ] * [> `Exec | `Read | `Sticky | `StickyO | `Write ] * int) list
Sourceval mask : who -> perm -> int
Sourceval of_int : int -> [> `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
Sourceval to_string : [< `All of [< `Add of actionarg | `List of [< `Add of [< `Exec | `ExecX | `Group | `List of perm list | `Other | `Read | `Sticky | `StickyO | `User | `Write ] as 'b | `Remove of 'b | `Set of 'b ] list | `Remove of actionarg | `Set of actionarg ] as 'a | `Group of 'a | `None of 'a | `Other of 'a | `User of 'a ] list -> string
Sourceval apply : is_dir:bool -> umask:int -> int -> t -> int
OCaml

Innovation. Community. Security.