package opam_bin_lib

  1. Overview
  2. Docs
val append_text_file : string -> string -> unit
val date : unit -> string
val log : string -> ('a, unit, string, unit) Stdlib.format4 -> 'a
val info : name:string -> version:string -> ('a, unit, string, unit) Stdlib.format4 -> 'a
val global_log : nvo:string option -> ('a, unit, string, unit) Stdlib.format4 -> 'a
val log_err : string -> ('a, unit, string, unit) Stdlib.format4 -> 'a
val global_log_err : nvo:string option -> ('a, unit, string, unit) Stdlib.format4 -> 'a
val log_cmd : nvo:string option -> string -> string list -> unit
val make_cache_dir : unit -> unit
val call : nvo:string option -> ?stdout:Unix.file_descr -> string array -> unit
val tar_zcf : nvo:string option -> ?prefix:string -> string -> string list -> unit
val backup_rotation : (string * string) list
val restore_rotation : (string * string) list
val rotate : string -> (string * string) list -> unit
val backup_opam_config_done : bool Stdlib.ref
val backup_opam_config : unit -> unit
val restore_opam_config : unit -> unit
val change_opam_config : (OpamParserTypes.opamfile_item list -> Ez_opam_file__V1.OpamParserTypes.FullPos.opamfile_item_kind Ez_opam_file__V1.OpamParserTypes.FullPos.with_pos list option) -> unit
val nullpos_value : 'a -> 'a OpamParserTypes.with_pos
val opam_variable : string -> ('a, unit, string, OpamParserTypes.opamfile_item_kind OpamParserTypes.with_pos) Stdlib.format4 -> 'a
val current_switch : unit -> string
val not_this_switch : unit -> bool
val opam_repos : unit -> string list
val all_repos : unit -> string list
val iter_repos : ?name:string -> ?nvo:string -> string list -> cont:(bool -> 'a) -> (repo:string -> package:string -> version:string -> bool) -> 'a
val write_marker : nvo:string option -> string -> string -> unit
val wget : nvo:string option -> url:string -> output:string -> string option
OCaml

Innovation. Community. Security.