odig_support
Odig_support.Opam
Lookup package opam metadata.
type t
The type for opam metadata.
val authors : t -> string list
authors i is the authors: field.
authors i
authors:
val bug_reports : t -> string list
bug_reports i is the bug-reports: field.
bug_reports i
bug-reports:
val depends : t -> string list
depends i is the depends: field.
depends i
depends:
val dev_repo : t -> string list
dev_repo i is the dev-repo: field.
dev_repo i
dev-repo:
val doc : t -> string list
doc i is the doc: field.
doc i
doc:
val homepage : t -> string list
homepage i is the homepage: field.
homepage i
homepage:
val license : t -> string list
license i is the license: field.
license i
license:
val maintainer : t -> string list
maintainer i is the maintainer: field.
maintainer i
maintainer:
val synopsis : t -> string
synopsis i is the synopsis: field.
synopsis i
synopsis:
val tags : t -> string list
info_tags i are the package's tags.
info_tags i
val version : t -> string
version i is the package's version.
version i
val file : Pkg.t -> B0_std.Fpath.t option
file pkg is the opam file of package pkg (if any).
file pkg
pkg
val query : Pkg.t list -> (Pkg.t * t) list
query pkgs queries the opam files associated to the given packages (if any).
query pkgs
Note. It is better to batch queries, opam show is quite slow (at least until v2.0.3).
opam show