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=3a99d6d8c0394185f168fa0f085f6bb9
sha512=596d7b28f0cf9613dc7637aaeac45cc45f411a13286fea1cc81aeb0630c4f8a6dc2095d50db73229a255a3da3d9a08fe0993355a7fc64d3b16fd712789ff5f6e
doc/opam-format/OpamPackage/index.html
Module OpamPackage
Source
The package type, and package name type (name+version, values often called "nv" in the code)
Package name and versions
Package (name x version) pairs
To fit in the GenericPackage type, for generic display functions
Guess the package name from a filename. This function extracts name
and version
from /path/to/$name.$version/opam, or /path/to/$name.$version.opam
Guess the package name from a directory name. This function extracts $name and $version from /path/to/$name.$version/
Guess the package name from an archive file. This function extract $name and $version from /path/to/$name.$version+opam.tar.gz
Convert a set of pairs to a map name -> versions
The converse of to_map
Extract the versions from a collection of packages
Return the list of versions for a given package
Extract the naes from a collection of packages
Returns true if the set contains a package with the given name
Return a package with the given name, if any
Return all the packages with one of the given names
Removes all packages with the given name from a set of packages
Return the maximal available version of a package name from a set. Raises Not_found
if no such package available.
Return all the package descriptions in a given directory
Return all the package descriptions in the current directory (and their eventual prefixes).
Errors
Parallel executions.