package opam-format
Install
Dune Dependency
Authors
-
David Allsopp
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRaja Boujbel <raja.boujbel@ocamlpro.com>
-
KKate Deplaix <kit-ty-kate@outlook.com>
-
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=154a590d76690c1d0b1e8b8c1170a767
sha512=7624ff37ec882f32020f1764165d1550e34b12ea7b8c6ef31b0e03c9b447611c66eb5b196a18c71565a16d5c7644fdc6e4366e864b167fb8c91c52a8c4517bbe
doc/opam-format/OpamFile/index.html
Module OpamFile
Source
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
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_map
Association 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)