package opam-repository
Repository library for opam 2.3
Install
Dune 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
2.3.0-beta2.tar.gz
md5=1820f557c273561f325b753023bf56a9
sha512=cbde4f86264e4724e0e789963f2522ddfbfe7bd91c420d694d96157121a9e11f45130c0f81b3dea9a0fbf003c0836f14c66721b5ac6b82e4ad9cf4ade96b2713
doc/opam-repository/OpamRepositoryConfig/index.html
Module OpamRepositoryConfig
Source
Configuration options for the repository lib (record, global reference, setter, initialisation)
Toggles parsing of the tool's output to detect errors (curl returns 0 on a 404)
Source
type t = {
download_tool : (OpamTypes.arg list * dl_tool_kind) Lazy.t;
validation_hook : OpamTypes.arg list option;
retries : int;
force_checksums : bool option;
repo_tarring : bool;
}
Source
type 'a options_fun =
?download_tool:(OpamTypes.arg list * dl_tool_kind) Lazy.t ->
?validation_hook:OpamTypes.arg list option ->
?retries:int ->
?force_checksums:bool option ->
?repo_tarring:bool ->
'a
include 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)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>