package odoc-driver

  1. Overview
  2. Docs
val (>>=) : ('a, 'b) result -> ('a -> ('c, 'b) result) -> ('c, 'b) result
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.

val cp : string -> string -> unit
OCaml

Innovation. Community. Security.