Module Op.Write
File writes.
File writes
val salt : t -> stringsalt wis the file write salt used for caching.
val mode : t -> intint wis the mode of the file written byw.
val file : t -> B0_std.Fpath.tfile wis the file written byw.
val data : t -> unit -> (string, string) Stdlib.resultdata w ()is the data to write.
val result : t -> (unit, string) Stdlib.resultresult wis the result of the file write.
val set_result : t -> (unit, string) Stdlib.result -> unitset_result w ressets the write results ofwtores.
Formatters
val pp_result : (unit, string) Stdlib.result B0_std.Fmt.tpp_resultformats a write result.
val pp : t B0_std.Fmt.tppformats a write.