package odoc-driver

  1. Overview
  2. Docs

Module Odoc_driver_lib.UtilSource

Sourceval (>>=) : ('a, 'b) result -> ('a -> ('c, 'b) result) -> ('c, 'b) result
Sourcemodule StringSet : sig ... end
Sourcemodule StringMap : sig ... end
Sourceval with_dir : Fpath.t option -> Bos.OS.Dir.tmp_name_pat -> (Fpath.t -> unit -> 'a) -> 'a
Sourceval lines_of_channel : in_channel -> string list
Sourceval lines_of_process : Bos.Cmd.t -> string list
Sourceval 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.

Sourceval cp : string -> string -> unit
OCaml

Innovation. Community. Security.