package opam-lib
Install
dune-project
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.format/OpamFile/index.html
Module OpamFile
Functions to read and write OPAM configuration files in a typed way
module type IO_FILE = sig ... endAll Configuration files satisfies this signature
module Config : sig ... endConfiguration file: $opam/config
module OPAM : sig ... endOPAM files
module Descr : sig ... endPackage descriptions: $opam/descr/
module Aliases : IO_FILE with type t = OpamTypes.compiler OpamTypes.switch_mapCompiler aliases: $opam/aliases
module Export :
IO_FILE
with type t =
OpamTypes.package_set
* OpamTypes.package_set
* OpamTypes.pin_option OpamPackage.Name.Map.tImport/export file. This difference with installed is that we are explicit about root packages.
module Installed : IO_FILE with type t = OpamTypes.package_setList of installed packages: $opam/$oversion/installed
module Installed_roots : IO_FILE with type t = OpamTypes.package_setList of packages explicitly installed by the user: $opam/$switch/installed.user
module Reinstall : IO_FILE with type t = OpamTypes.package_setList of packages to reinstall: $opam/$oversion/reinstall
module Comp : sig ... endCompiler version $opam/compilers/
Configuration files
module Dot_install : sig ... end.install files
module Dot_config : sig ... end.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
module Compiler_index :
IO_FILE
with type t =
(OpamTypes.repository_name * string option) OpamTypes.compiler_mapAssociation between compiler names and repositories
module Repo_config : IO_FILE with type t = OpamTypes.repositoryRepository config: $opam/repo/$repo/config
module Pinned : IO_FILE with type t = OpamTypes.pin_option OpamTypes.name_mapPinned package files
module Repo : sig ... endRepository metadata
Substitution files
module URL : sig ... endmodule File_attributes : IO_FILE with type t = OpamTypes.file_attribute_setmodule Filenames : IO_FILE with type t = OpamTypes.filename_setList of filenames
module Prefix : IO_FILE with type t = string OpamTypes.name_mapPrefix of package directories