File writes
val v_op : id:id -> mark:mark -> created:B00_std.Time.span -> ?post_exec:(op -> unit) -> ?k:(op -> unit) -> stamp:string -> reads:B00_std.Fpath.t list -> mode:int -> write:B00_std.Fpath.t -> (unit -> (string, string) Stdlib.result) -> opwrite declares a file write operations, see the corresponding accessors in Write for the semantics of the various arguments.
val v : stamp:string -> mode:int -> file:B00_std.Fpath.t -> data:(unit -> (string, string) Stdlib.result) -> tv constructs a bare write operation.
val stamp : t -> stringstamp w is the file write stamp used for caching.
val mode : t -> intint w is the mode of the file written by w.
val file : t -> B00_std.Fpath.tfile w is the file written by w.
val data : t -> (string, string) Stdlib.resultdata w invokes and discards the write data function. If the write data function raises this is turned into an Error _.
val discard_data : t -> unitdiscard_data w discards the write data function.