package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

Dune Dependency

Authors

Maintainers

Sources

b0-0.0.3.tbz
sha512=d24b09eb520b8b91a1e5715badc9f5bcd6a6ec49c047f719a07afef6b835c128dc63e00c3be73d5353b037f4c3c9f2889e40666b30e297e872e4d011f098394c

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:B00_std.Time.span -> ?post_exec:(op -> unit) -> ?k:(op -> unit) -> B00_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:B00_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 -> B00_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.