Module B00_conv.Op

B00.Op converters

Operations kinds

module Spawn : sig ... end

Tool spawns.

module Read : sig ... end

File reads.

module Write : sig ... end

File writes.

module Copy : sig ... end

File copy

module Delete : sig ... end

File delete

module Mkdir : sig ... end

Directory creation.

module Wait_files : sig ... end

Formatters

val pp_file_read : B0_std.Fpath.t B0_std.Fmt.t
val pp_file_write : B0_std.Fpath.t B0_std.Fmt.t
val pp_file_wait : B0_std.Fpath.t B0_std.Fmt.t
val pp_hash : B0_std.Hash.t B0_std.Fmt.t
val pp_status : B00.Op.status B0_std.Fmt.t

pp_status formats build operation statuses.

val pp_short_status : B00.Op.t B0_std.Fmt.t

pp_short_status formats Op.status and Op.exec_revived as a single letter.

val pp_kind_short : B00.Op.t B0_std.Fmt.t
val pp_kind_micro : B00.Op.t B0_std.Fmt.t
val pp_header : B00.Op.t B0_std.Fmt.t
val pp : B00.Op.t B0_std.Fmt.t

pp formats a build operation.

val pp_short : B00.Op.t B0_std.Fmt.t

pp_short formats a build operation on a single line.

val pp_short_with_ui : B00.Op.t B0_std.Fmt.t

pp_short_with_stdo_ui formats like pp_short but also a feedback UI if the operation has one.

val pp_failed : op_howto:B00.Op.t B0_std.Fmt.t -> (B00.Op.t * [< `Did_not_write of B0_std.Fpath.t list ]) B0_std.Fmt.t
val pp_short_log : B00.Op.t B0_std.Fmt.t
val pp_normal_log : B00.Op.t B0_std.Fmt.t
val pp_long_log : B00.Op.t B0_std.Fmt.t

Binary serialization

val list_to_string : B00.Op.t list -> string

list_to_string ops is a binary encoding of ops.

val list_of_string : ?⁠file:B0_std.Fpath.t -> string -> (B00.Op.t list, string) Stdlib.result

lsit_of_string ops is a binary decoding of a to_string encoding. file is a filename to report errors (defaults to Os.File.dash).