package b0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0
doc/b0.memo/B0_zero_conv/Op/index.html
Module B0_zero_conv.Op
Source
B0_zero.Op
converters
Stringifiers
status_to_string s
is s
as a string.
notify_kind_to_string k
is k
as a string.
Formatters
pp_file_read
formats a read file.
pp_file_write
formats a written file.
pp_line
formats a build operation on a single line.
pp_line_and_ui
formats like pp_line
but also a potential feedback spawn UI and/or failure error messages.
val pp_ui :
sep:unit B0_std.Fmt.t ->
op_howto:B0_zero.Op.t B0_std.Fmt.t ->
B0_zero.Op.t B0_std.Fmt.t
pp_ui
formats notifications, failed operations and spawn operations with a UI. In case something is printed sep
is added at the end. op_howto
should be command fragment to obtain more information about operation failures.
pp
formats a build operation with full details.
bincode
binary codes an operation.
Errors
val pp_aggregate_error :
?sep:unit B0_std.Fmt.t ->
?read_howto:B0_std.Fpath.t B0_std.Fmt.t ->
?write_howto:B0_std.Fpath.t B0_std.Fmt.t ->
unit ->
B0_zero.Op.aggregate_error B0_std.Fmt.t
pp_aggregate_error ~read_howto ~write_howto
formats a memo error followed by sep
iff somethings is printed (defaults to B0_std.Fmt.flush_nl
). The errors are formatted as follows:
B0_zero.Op.aggregate_error.Failures
formatsB0_std.Fmt.nop
.B0_zero.Op.aggregate_error.Never_became_ready
formats each file prefixing it withread_howto
.B0_zero.Op.aggregate_error.Cycle
, formats the operations of the cycle. by writing the files that form the cycle and prefixing them withwrite_howto
.
val pp_build_correctness_error :
pp_op:B0_zero.Op.t B0_std.Fmt.t ->
B0_zero.Op.build_correctness_error B0_std.Fmt.t