package opam-lib
Install
Dune Dependency
Authors
-
TThomas Gazagnaire <thomas@gazagnaire.org>
-
AAnil Madhavapeddy <anil@recoil.org>
-
FFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>
-
FFrederic Tuong <tuong@users.gforge.inria.fr>
-
LLouis Gesbert <louis.gesbert@ocamlpro.com>
-
GGuillem Rieu <guillem.rieu@ocamlpro.com>
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRoberto Di Cosmo <roberto@dicosmo.org>
Maintainers
Sources
sha256=625767c3465219cc8799aad1449c74279b31686db0821300cfdb92fbff17e9fd
md5=e0688c0cf9a55f93ee93f62d07cf6b74
doc/opam-lib.client/OpamClient/SafeAPI/index.html
Module OpamClient.SafeAPI
This version of the API can be used concurrently.
OPAM API.
val init :
OpamTypes.repository ->
OpamTypes.compiler ->
OpamTypes.shell ->
OpamTypes.filename ->
[ `ask | `yes | `no ] ->
unit
Initialize the client a consistent state.
val list :
print_short:bool ->
filter:[ `all | `installed | `roots | `installable ] ->
order:[ `normal | `depends ] ->
exact_name:bool ->
case_sensitive:bool ->
?depends:OpamTypes.atom list ->
?reverse_depends:bool ->
?recursive_depends:bool ->
?resolve_depends:bool ->
?depopts:bool ->
?depexts:string list ->
?dev:bool ->
string list ->
unit
Display all available packages that matches any of the regexps.
val info :
fields:string list ->
raw_opam:bool ->
where:bool ->
OpamTypes.atom list ->
unit
Display a general summary of a collection of packages.
val install : OpamTypes.atom list -> bool option -> bool -> unit
Install the given list of packages. Second argument, if not None, specifies that given packages should be added or removed from the roots. Third argument installs all dependencies but not the packages themselves
val reinstall : OpamTypes.atom list -> unit
Reinstall the given set of packages.
Refresh the available packages.
val upgrade : OpamTypes.atom list -> unit
Find a consistent state where most of the installed packages are upgraded to their latest version, within the given constraints. An empty list means upgrade all installed packages.
val remove : autoremove:bool -> force:bool -> OpamTypes.atom list -> unit
Remove the given list of packages.
module CONFIG : sig ... end
Config API.
module REPOSITORY : sig ... end
Repository API
module SWITCH : sig ... end
Switch API
module PIN : sig ... end
Pin API