Opam.Descrdescr files.
val of_string : string -> (t, Bos_setup.R.msg) Bos_setup.resultof_string s is a description from the string s.
val to_string : t -> stringto_string d is d as a string.
val to_opam_fields : t -> stringto_opam_fields d is d as synopsis and description opam v2 fields.
val of_readme :
?flavour:Text.flavour ->
string ->
(t, Bos_setup.R.msg) Bos_setup.resultof_readme r extracts an opam description file from a readme r with a certain structure.
val of_readme_file : Fpath.t -> (t, Bos_setup.R.msg) Bos_setup.resultof_readme_file f extracts an opam description file from a readme file f using Text.flavour_of_fpath and of_readme.