package dune-release

  1. Overview
  2. Docs

Module Opam.DescrSource

descr files.

Descr file

Sourcetype t = string * string option

The type for opam descr files, the package synopsis and the description.

Sourceval of_string : string -> (t, Bos_setup.R.msg) Bos_setup.result

of_string s is a description from the string s.

Sourceval to_string : t -> string

to_string d is d as a string.

Sourceval of_readme_file : Fpath.t -> (t, Bos_setup.R.msg) Bos_setup.result

of_readme_file f extracts an opam description file from a readme file f using Text.flavour_of_fpath and of_readme.

OCaml

Innovation. Community. Security.