package opam-core

  1. Overview
  2. Docs
type env_var = string
type when_ = [
  1. | `Always
  2. | `Never
  3. | `Auto
]
type when_ext = [
  1. | `Extended
  2. | when_
]
type answer = [
  1. | `unsafe_yes
  2. | `all_yes
  3. | `all_no
  4. | `ask
]
type yes_answer = [
  1. | `unsafe_yes
  2. | `all_yes
]
val bool_of_string : string -> bool option
val env : (string -> 'a) -> string -> 'a option
val env_bool : env_var -> bool option
val env_int : env_var -> int option
type level = int
val env_level : env_var -> level option
type sections = int option String.Map.t
val env_sections : env_var -> sections option
val env_string : env_var -> string option
val env_string_list : env_var -> string list option
val env_float : env_var -> float option
val env_when : env_var -> when_ option
val env_when_ext : env_var -> when_ext option
val resolve_when : auto:bool Stdlib.Lazy.t -> when_ -> bool
val env_answer : env_var -> answer option
module type Sig = sig ... end
module E : sig ... end
OCaml

Innovation. Community. Security.