2017-06-08 13:11:31 +00:00
|
|
|
(** Information about a package defined in the workspace *)
|
|
|
|
|
2018-04-24 12:22:41 +00:00
|
|
|
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
|
2018-06-15 05:20:03 +00:00
|
|
|
|
|
|
|
val t : t Sexp.Of_sexp.t
|
2018-03-02 18:44:03 +00:00
|
|
|
end
|
|
|
|
|
2017-06-08 13:11:31 +00:00
|
|
|
type t =
|
2018-03-02 18:44:03 +00:00
|
|
|
{ name : Name.t
|
2017-06-08 13:11:31 +00:00
|
|
|
; path : Path.t
|
|
|
|
; version_from_opam_file : string option
|
|
|
|
}
|
|
|
|
|
|
|
|
val opam_file : t -> Path.t
|