package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

Dune Dependency

Authors

Maintainers

Sources

b0-0.0.5.tbz
sha512=00a6868b4dfa34565d0141b335622a81a0e8d5b9e3c6dfad025dabfa3df2db2a1302b492953bbbce30c3a4406c324fcec25250a00b38f6d18a69e15605e3b07e

doc/b0.b00/B000/Op/Mkdir/index.html

Module Op.Mkdir

Directory creation.

Directory creation

type t

The type for directory creation operations.

val v_op : id:id -> mark:mark -> mode:int -> created:B0_std.Mtime.span -> ?post_exec:(op -> unit) -> ?k:(op -> unit) -> B0_std.Fpath.t -> op

v_op declares a directory creation operation, see the corresponding accessors for the semantics of the various arguments.

val v : dir:B0_std.Fpath.t -> mode:int -> t

v constructs a bare mkdir operation.

val get : op -> t

get o is the mkdir o. Raises Invalid_argument if o is not a mkdir.

val dir : t -> B0_std.Fpath.t

dir mk is the directory created by mk.

val mode : t -> int

mode mk are the permissions of the directory created by mk.

OCaml

Innovation. Community. Security.