package opam-format
Install
dune-project
Dependency
Authors
-
David Allsopp
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRaja Boujbel <raja.boujbel@ocamlpro.com>
-
KKate Deplaix <kit-ty-kate@exn.st>
-
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
md5=5f7f90b34d43584c55295236b7e99e47
sha512=596b9372567bba20a40e648b0b714a8b1e0cc3ba8313cf89c814f890a324ce0ba5b4d525ca6a4fa390181b4bddb35cf12b464f7036004bd70f8da843721fb858
doc/opam-format/OpamFile/index.html
Module OpamFileSource
Handles all OPAM file formats as record types and submodules, conversion to and from syntax
Functions to read and write OPAM configuration files in a typed way
Associate a type to a filename through a phantom type
Init config file /etc/opamrc
Package descriptions: $opam/descr/
Compiler aliases: $opam/aliases. Deprecated, used only for migration
Switch state file as table, also used for import/export. This includes compiler and root packages information, as well as pinned packages and their target (but not their local metadata).
A newer format for switch state, using the opam file syntax rather than a table. This is more readable and extensible.
An extended version of SwitchSelections that can include full opam files as package "name" {} sections, for storing overlays
A simple list of packages and versions: (used for the older $opam/$switch/{installed,installed_roots}, still needed to migrate from 1.2 repository, and for reinstall)
Cached environment updates (<switch>/environment)
Compiler version $opam/compilers/. Deprecated, only used to upgrade old data
Configuration files
.install files
.config files
Repository files
module Package_index :
IO_FILE
with type t =
(OpamTypes.repository_name * string option) OpamTypes.package_mapAssociation between package names and repositories
Repository config: $opam/repo/$repo/config. Deprecated, for migration only
Pinned package files (only used for migration from 1.2, the inclusive State module is now used instead)