package opam-client
Install
dune-project
Dependency
Authors
-
David Allsopp
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRaja Boujbel <raja.boujbel@ocamlpro.com>
-
KKate Deplaix <kit-ty-kate@outlook.com>
-
RRoberto Di Cosmo <roberto@dicosmo.org>
-
TThomas Gazagnaire <thomas@gazagnaire.org>
-
LLouis Gesbert <louis.gesbert@ocamlpro.com>
-
FFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>
-
AAnil Madhavapeddy <anil@recoil.org>
-
GGuillem Rieu <guillem.rieu@ocamlpro.com>
-
RRalf Treinen <ralf.treinen@pps.jussieu.fr>
-
FFrederic Tuong <tuong@users.gforge.inria.fr>
Maintainers
Sources
md5=3a99d6d8c0394185f168fa0f085f6bb9
sha512=596d7b28f0cf9613dc7637aaeac45cc45f411a13286fea1cc81aeb0630c4f8a6dc2095d50db73229a255a3da3d9a08fe0993355a7fc64d3b16fd712789ff5f6e
doc/opam-client/OpamClientConfig/index.html
Module OpamClientConfigSource
Configuration options for the client lib (record, global reference, setter, initialisation), plus helper for global setup
type t = private {print_stats : bool;pin_kind_auto : bool;autoremove : bool;editor : string;keep_build_dir : bool;reuse_build_dir : bool;inplace_build : bool;working_dir : bool;drop_working_dir : bool;ignore_pin_depends : bool;show : bool;fake : bool;skip_dev_update : bool;json_out : string option;root_is_ok : bool;no_auto_upgrade : bool;assume_depexts : bool;cli : OpamCLIVersion.t;scrubbed_environment_variables : string list;verbose_on : OpamTypes.name_set;
}type 'a options_fun =
?print_stats:bool ->
?pin_kind_auto:bool ->
?autoremove:bool ->
?editor:string ->
?keep_build_dir:bool ->
?reuse_build_dir:bool ->
?inplace_build:bool ->
?working_dir:bool ->
?drop_working_dir:bool ->
?ignore_pin_depends:bool ->
?show:bool ->
?fake:bool ->
?skip_dev_update:bool ->
?json_out:string option ->
?root_is_ok:bool ->
?no_auto_upgrade:bool ->
?assume_depexts:bool ->
?cli:OpamCLIVersion.t ->
?scrubbed_environment_variables:string list ->
?verbose_on:OpamTypes.name_set ->
'ainclude OpamStd.Config.Sig
with type t := t
and type 'a options_fun := 'a options_fun
Use to update any option in a t, using the optional arguments of options_fun. E.g. set opts ?option1:1 ?option4:"x" ()
Same as set, but passes the result to a continuation, allowing argument stacking
The global reference containing the currently set library options. Access using OpamXxxConfig.(!r.field).
Updates the currently set options in r according to the optional arguments
Sets the options, reading the environment to get default values when unspecified
Sets the options like init, but returns the given value (for arguments stacking)
Extra files included in opam search
val opam_init :
?root_dir:OpamTypes.dirname ->
?strict:bool ->
?solver:(module OpamCudfSolver.S) Lazy.t ->
?skip_version_checks:bool ->
?all_parens:bool ->
?log_dir:OpamTypes.dirname ->
?print_stats:bool ->
?pin_kind_auto:bool ->
?autoremove:bool ->
?editor:string ->
?keep_build_dir:bool ->
?reuse_build_dir:bool ->
?inplace_build:bool ->
?working_dir:bool ->
?drop_working_dir:bool ->
?ignore_pin_depends:bool ->
?show:bool ->
?fake:bool ->
?skip_dev_update:bool ->
?json_out:string option ->
?root_is_ok:bool ->
?no_auto_upgrade:bool ->
?assume_depexts:bool ->
?cli:OpamCLIVersion.t ->
?scrubbed_environment_variables:string list ->
?verbose_on:OpamTypes.name_set ->
?original_root_dir:OpamTypes.dirname ->
?current_switch:OpamSwitch.t ->
?switch_from:OpamStateTypes.provenance ->
?jobs:int Lazy.t ->
?dl_jobs:int ->
?build_test:bool ->
?build_doc:bool ->
?dev_setup:bool ->
?dryrun:bool ->
?makecmd:string Lazy.t ->
?ignore_constraints_on:OpamPackage.Name.Set.t ->
?unlock_base:bool ->
?no_env_notice:bool ->
?locked:string option ->
?no_depexts:bool ->
?cudf_file:string option ->
?best_effort:bool ->
?solver_preferences_default:string option Lazy.t ->
?solver_preferences_upgrade:string option Lazy.t ->
?solver_preferences_fixup:string option Lazy.t ->
?solver_preferences_best_effort_prefix:string option Lazy.t ->
?solver_timeout:float option ->
?solver_allow_suboptimal:bool ->
?cudf_trim:string option ->
?dig_depth:int ->
?preprocess:bool ->
?version_lag_power:int ->
?download_tool:
(OpamTypes.arg list * OpamRepositoryConfig.dl_tool_kind) Lazy.t ->
?validation_hook:OpamTypes.arg list option ->
?retries:int ->
?force_checksums:bool option ->
?repo_tarring:bool ->
?debug_level:int ->
?debug_sections:OpamStd.Config.sections ->
?verbose_level:OpamStd.Config.level ->
?color:OpamStd.Config.when_ ->
?utf8:OpamStd.Config.when_ext ->
?disp_status_line:OpamStd.Config.when_ ->
?confirm_level:OpamStd.Config.answer ->
?yes:bool option ->
?safe_mode:bool ->
?keep_log_dir:bool ->
?errlog_length:int ->
?merged_output:bool ->
?precise_tracking:bool ->
?cygbin:string ->
?git_location:string ->
unit ->
unitLoad the global configuration file (opamroot/config) and initialise all opam sub-libraries, overriding the given arguments