dune/src/package.mli

26 lines
432 B
OCaml
Raw Normal View History

(** Information about a package defined in the workspace *)
open Stdune
2018-03-02 18:44:03 +00:00
module Name : sig
2018-03-03 13:41:29 +00:00
type t
2018-03-02 18:44:03 +00:00
val of_string : string -> t
val opam_fn : t -> string
val pp : Format.formatter -> t -> unit
2018-03-03 13:41:29 +00:00
include Interned.S with type t := t
val t : t Sexp.Of_sexp.t
2018-03-02 18:44:03 +00:00
end
type t =
2018-03-02 18:44:03 +00:00
{ name : Name.t
; path : Path.t
; version_from_opam_file : string option
}
val opam_file : t -> Path.t