package mirage

  1. Overview
  2. Docs
val generated_by_mirage : string
val ocaml_version : unit -> int * int
val (/) : string -> string -> string
val strip : string -> string
val cut_at : string -> char -> (string * string) option
val append : Pervasives.out_channel -> ('a, unit, string, unit) Pervasives.format4 -> 'a
val newline : Pervasives.out_channel -> unit
val command_exists : string -> bool
val command : ?redirect:bool -> ('a, unit, string, unit) Pervasives.format4 -> 'a
val read_command : ('a, unit, string, string) Pervasives.format4 -> 'a
val remove : string -> unit
val realpath : string -> string
val opam : string -> ?switch:string -> string list -> unit
val in_dir : string -> (unit -> 'a) -> 'a
val uname_s : unit -> string option
val set_section : string -> unit
val get_section : unit -> string
val error : ('a, unit, string, 'b) Pervasives.format4 -> 'a
val info : ('a, unit, string, unit) Pervasives.format4 -> 'a
val blue_s : string -> string
val yellow_s : string -> string
val cofind : ('a, 'b) Hashtbl.t -> 'b -> 'a
val find_or_create : ('a, 'b) Hashtbl.t -> 'a -> (unit -> 'b) -> 'b
val dump : (string, string) Hashtbl.t -> unit
val dedup : string list -> string list
OCaml

Innovation. Community. Security.