Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module StringSet : sig ... end
module StringMap : sig ... end
val with_dir :
Fpath.t option ->
Bos.OS.Dir.tmp_name_pat ->
(Fpath.t -> unit -> 'a) ->
'a
val lines_of_channel : in_channel -> string list
val lines_of_process : Bos.Cmd.t -> string list
val with_out_to :
Fpath.t ->
(out_channel -> 'a) ->
(unit, [> Rresult.R.msg ]) result
Opens a file for writing and calls f
. The destination directory is created if needed.