Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Configuration options for the repository lib (record, global reference, setter, initialisation)
module E : sig ... end
Toggles parsing of the tool's output to detect errors (curl returns 0 on a 404)
type t = {
download_tool : (OpamTypes.arg list * dl_tool_kind) Stdlib.Lazy.t;
validation_hook : OpamTypes.arg list option;
retries : int;
force_checksums : bool option;
}
type 'a options_fun =
?download_tool:(OpamTypes.arg list * dl_tool_kind) Stdlib.Lazy.t ->
?validation_hook:OpamTypes.arg list option ->
?retries:int ->
?force_checksums:bool option ->
'a
include OpamStd.Config.Sig
with type t := t
and type 'a options_fun := 'a options_fun
val default : t
val set : t -> (unit -> t) options_fun
val setk : (t -> 'a) -> t -> 'a options_fun
val r : t Stdlib.ref
val update : ?noop:'a -> (unit -> unit) options_fun
val init : ?noop:'a -> (unit -> unit) options_fun
val initk : 'a -> 'a options_fun