package b0

  1. Overview
  2. Docs

Directory creation.

Directory creation

type t

The type for directory creation operations.

val dir : t -> B0_std.Fpath.t

dir mk is the directory created by mk.

val result : t -> (unit, string) result

result mk is unit or an error.

val set_result : t -> (unit, string) result -> unit

set_result r res sets the mkdir result of r to res.

Formatters

val pp_result : (unit, string) result B0_std.Fmt.t

pp_result formats directory creation results.

val pp : t B0_std.Fmt.t

pp formats directory creations.

OCaml

Innovation. Community. Security.