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/index.html
Module OpamPath
The various paths where OPAM configuration files are stored.
Global paths
type t = OpamTypes.dirname
Type of path root
val state_cache : t -> OpamTypes.filename
State cache
val update_cache : t -> OpamTypes.filename
Update cache
val lock : t -> OpamTypes.filename
lock file
val config : t -> OpamTypes.filename
Main configuration file: $opam/config
val aliases : t -> OpamTypes.filename
Compiler aliases
val packages_dir : t -> OpamTypes.dirname
Package directroy $opam/packages/
val packages : t -> OpamTypes.package -> OpamTypes.dirname
Package sub-directory $opam/packages/$NAME/$NAME.$VERSION/
val opam : t -> OpamTypes.package -> OpamTypes.filename
OPAM files: $opam/packages/$NAME/$NAME.$VERSION/opam
val url : t -> OpamTypes.package -> OpamTypes.filename
URL files: $opam/packages/$NAME/$NAME.$VERSION/url
val files : t -> OpamTypes.package -> OpamTypes.dirname
Additional files: $opam/packages/$NAME/$NAME.$VERSION/files
val dev_packages_dir : t -> OpamTypes.dirname
Temporary folder for dev packages $opam/packages.dev/
val dev_package : t -> OpamTypes.package -> OpamTypes.dirname
Temporary folder for dev packages $opam/packages.dev/$NAME.$VERSION/
val descr : t -> OpamTypes.package -> OpamTypes.filename
Description file: $opam/packages/$NAME/$NAME.$VERSION/descr
val archives_dir : t -> OpamTypes.dirname
Archives dir
val archive : t -> OpamTypes.package -> OpamTypes.filename
Archive file: $opam/archives/$NAME.$VERSION+opam.tar.gz
val compiler_comp : t -> OpamTypes.compiler -> OpamTypes.filename
Compiler files: $opam/compilers/$VERSION/$COMP.comp
val compiler_descr : t -> OpamTypes.compiler -> OpamTypes.filename
Compiler description files: $opam/compilers/$VERSION/$COMP.descr
val compilers_dir : t -> OpamTypes.dirname
Compiler files: $opam/compilers/
val compilers : t -> OpamTypes.compiler -> OpamTypes.dirname
Compiler subdir $opam/compilers/$VERSION/$COMP
val package_index : t -> OpamTypes.filename
Return the repository index: $opam/repo/package-index
val compiler_index : t -> OpamTypes.filename
Return the repository index: $opam/repo/compiler-index
val init : t -> OpamTypes.dirname
Init scripts
val log : t -> OpamTypes.dirname
Log dir $opam/log
val backup_dir : t -> OpamTypes.dirname
The directory where global backups are stored
val backup : t -> OpamTypes.filename
Backup file for state export
module Switch : sig ... end
Switch related paths