package opamfu

  1. Overview
  2. Docs
type !'a pkg = {
  1. name : string;
  2. version : string;
  3. descr : 'a;
  4. synopsis : string;
  5. href : Uri.t;
  6. title : string;
  7. published : float option;
  8. url : OpamFile.URL.t option;
}
type pkg_idx = (OpamTypes.repository_name * string option) OpamTypes.package_map
type repository = [
  1. | `local of string
  2. | `opam
  3. | `path of string
]
type pred =
  1. | Tag of string
  2. | Depopt
  3. | Not of pred
  4. | Repo of string
  5. | Pkg of string
type index =
  1. | Index_pred
  2. | Index_all
type pred_dnf = pred OpamFormula.dnf
module Repo : sig ... end
module Pkg : sig ... end
val pred_sep : char
val repository_ns_sep : char
val string_of_repository : repository -> string
val repository_of_string : string -> repository
val index_by_repo : pkg_idx -> string option OpamTypes.package_map OpamTypes.repository_name_map
val is_base_package : OpamTypes.package -> bool
val remove_base_packages : 'a OpamTypes.package_map -> 'a OpamTypes.package_map
val of_repositories : ?preds:pred_dnf -> index -> repository list -> (string * string) t
val map : ('a -> 'b) -> 'a t -> 'b t
OCaml

Innovation. Community. Security.