2017-05-16 13:47:52 +00:00
|
|
|
(** Parsing and interpretation of opam files *)
|
|
|
|
|
2018-04-24 20:25:27 +00:00
|
|
|
open Stdune
|
|
|
|
|
2018-04-24 13:38:30 +00:00
|
|
|
open OpamParserTypes
|
2017-05-16 13:47:52 +00:00
|
|
|
|
|
|
|
(** Type of opam files *)
|
|
|
|
type t = opamfile
|
|
|
|
|
|
|
|
(** Load a file *)
|
2018-04-24 20:25:27 +00:00
|
|
|
val load : Path.t -> t
|
2017-05-16 13:47:52 +00:00
|
|
|
|
|
|
|
(** Extracts a field *)
|
|
|
|
val get_field : t -> string -> value option
|