Module OpamPath

module OpamPath: sig .. end
The various paths where OPAM configuration files are stored.


Global paths


type t = OpamTypes.dirname 
Type of path root
val default : unit -> t
Default root path
val root : t -> OpamTypes.dirname
Root dir: $opam/
val state_cache : t -> OpamTypes.filename
State 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 opam : t -> OpamTypes.package -> OpamTypes.filename
OPAM files: $opam/opam/$NAME.$VERSION.opam
val compiler : t -> OpamTypes.compiler -> OpamTypes.filename
Compiler files: $opam/compilers/$OVERSION.comp
val compiler_descr : t -> OpamTypes.compiler -> OpamTypes.filename
Compiler description files: $opam/compilers/$OVERSION.descr
val compilers_dir : t -> OpamTypes.dirname
Compiler files: $opam/compilers/
val descr : t -> OpamTypes.package -> OpamTypes.filename
Description file: $opam/descr/$NAME.$VERSION
val archive : t -> OpamTypes.package -> OpamTypes.filename
Archives files: $opam/archives/$NAME.$VERSION.tar.gz
val opam_dir : t -> OpamTypes.dirname
OPAM files folder: $opam/opam/
val descr_dir : t -> OpamTypes.dirname
Description files folder: $opam/descr/
val archives_dir : t -> OpamTypes.dirname
Archives files folder: $opam/archives/
val repo_index : t -> OpamTypes.filename
Return the repository index: $opam/repo/index
val init : t -> OpamTypes.dirname
Init scripts
module Switch: sig .. end
Switch related paths
module Repository: sig .. end
Repository paths