package topkg-care

  1. Overview
  2. Docs
The transitory OCaml software packager

Install

Dune Dependency

Authors

Maintainers

Sources

topkg-1.0.8.tbz
sha512=4b632b60137852bb72ff9c8cdc2e16ac5ece6473569e50963fef9c1e800a0933a516bea1107b04011645afa4a1e78893c82dbce0aa8de2970d4d6c6d0dd2fe02

doc/topkg_care/Topkg_care/Opam/File/index.html

Module Opam.File

opam files

opam file

val field_names : Bos_setup.String.set

field_names is the maximal domain of the map returned by fields, excluding extension fields (not yet supported by opam-lib 1.2.2).

val fields : Fpath.t -> (string list Bos_setup.String.map, Bos_setup.R.msg) Bos_setup.result

fields f returns a simplified model of the fields of the opam file f. The domain of the result is included in field_names. Note that the depends: and depopts: fields are returned without version constraints.

Dependencies

val deps : ?opts:bool -> string list Bos_setup.String.map -> Bos_setup.String.set

deps ~opts fields returns the packages mentioned in the depends: fields, if opts is true (default) those from depopts: are added aswell.

OCaml

Innovation. Community. Security.