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.state/OpamPath/Switch/index.html
Module OpamPath.Switch
Switch related paths
Locations of opam internal dirs and files
val root : t -> OpamTypes.switch -> OpamTypes.dirname
Root dir: $opam/$switch
val lock : t -> OpamTypes.switch -> OpamTypes.filename
lock file: $opam/lock
val backup_dir : t -> OpamTypes.switch -> OpamTypes.dirname
The directory where backups are stored for this switch
val backup : t -> OpamTypes.switch -> OpamTypes.filename
Backup file for state export
val installed : t -> OpamTypes.switch -> OpamTypes.filename
List of installed packages with their version: $opam/$switch/installed
val installed_roots : t -> OpamTypes.switch -> OpamTypes.filename
List of packages explicitly installed by the user: $opam/$switch/installed.roots
val build : t -> OpamTypes.switch -> OpamTypes.package -> OpamTypes.dirname
Temporary folders used to decompress and compile the corresponding archives: $opam/$switch/build/$packages
val build_ocaml : t -> OpamTypes.switch -> OpamTypes.dirname
Temporary folders used to decompress and compile the OCaml compiler: $opam/$switch/build/ocaml
val build_dir : t -> OpamTypes.switch -> OpamTypes.dirname
Temporary folder: $opam/$switch/build
val build_install :
t ->
OpamTypes.switch ->
OpamTypes.package ->
OpamTypes.filename
Temporary location of install files: $opam/$switch/build/$package/$name.install
val build_config :
t ->
OpamTypes.switch ->
OpamTypes.package ->
OpamTypes.filename
Temporary location of config files: $opam/$switch/build/$packages/$name.config
val install : t -> OpamTypes.switch -> OpamTypes.name -> OpamTypes.filename
Installed files for a given package: $opam/$switch/install/$name.install
val install_dir : t -> OpamTypes.switch -> OpamTypes.dirname
Installed files: $opam/$switch/install/
val reinstall : t -> OpamTypes.switch -> OpamTypes.filename
Packages to reinstall on next upgrade: $opam/$switch/reinstall
val config_dir : t -> OpamTypes.switch -> OpamTypes.dirname
Configuration folder: $opam/$switch/config
val global_config : t -> OpamTypes.switch -> OpamTypes.filename
Global config for the switch: $opam/$switch/config/global-config.config
val pinned : t -> OpamTypes.switch -> OpamTypes.filename
Pinned package file: $opam/$switch/pinned
val dev_packages_dir : t -> OpamTypes.switch -> OpamTypes.dirname
Build dir for all pinned packages: $opam/$switch/packages.dev/
val dev_package : t -> OpamTypes.switch -> OpamTypes.name -> OpamTypes.dirname
Build dir for a given pinned package: $opam/$switch/packages.dev/$name.$version/
Locations for the visible part of the installation
module Default : sig ... end
Default config
Actual config handling the global-config.config indirections
Package-independent dirs
val lib_dir :
t ->
OpamTypes.switch ->
OpamFile.Dot_config.t ->
OpamTypes.dirname
Library path: $opam/$switch/lib
val stublibs :
t ->
OpamTypes.switch ->
OpamFile.Dot_config.t ->
OpamTypes.dirname
DLL paths
val toplevel :
t ->
OpamTypes.switch ->
OpamFile.Dot_config.t ->
OpamTypes.dirname
toplevel path: $opam/$switch/lib/toplevel
val doc_dir :
t ->
OpamTypes.switch ->
OpamFile.Dot_config.t ->
OpamTypes.dirname
Documentation path: $opam/$switch/doc/
Shared directory: $opam/$switch/share
val etc_dir :
t ->
OpamTypes.switch ->
OpamFile.Dot_config.t ->
OpamTypes.dirname
Etc directory: $opam/$switch/etc
val man_dir :
?num:string ->
t ->
OpamTypes.switch ->
OpamFile.Dot_config.t ->
OpamTypes.dirname
Man pages path: $opam/$switch/man/. The optional num
argument will add a manN suffix if specified
val bin : t -> OpamTypes.switch -> OpamFile.Dot_config.t -> OpamTypes.dirname
Installed binaries: $opam/$switch/bin
val sbin : t -> OpamTypes.switch -> OpamFile.Dot_config.t -> OpamTypes.dirname
Installed system binaries: $opam/$switch/sbin
Package dependent dirs
val lib :
t ->
OpamTypes.switch ->
OpamFile.Dot_config.t ->
OpamTypes.name ->
OpamTypes.dirname
Library path for a given package: $opam/$switch/lib/$name
val doc :
t ->
OpamTypes.switch ->
OpamFile.Dot_config.t ->
OpamTypes.name ->
OpamTypes.dirname
Documentation path for a given package: $opam/$switch/doc/$name
Share directory for a given package: $opam/$switch/share/$package
val etc :
t ->
OpamTypes.switch ->
OpamFile.Dot_config.t ->
OpamTypes.name ->
OpamTypes.dirname
Etc directory for a given package: $opam/$switch/etc/$package
val config :
t ->
OpamTypes.switch ->
OpamFile.Dot_config.t ->
OpamTypes.name ->
OpamTypes.filename
Compile and link flags for a given package: $opam/$switch/lib/$name/opam.config
module Overlay : sig ... end