Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Source file s.ml
12345678910111213141516171819202122232425262728293031323334353637383940414243444546moduletypeCONTEXT=sigtypettyperejection(** A reason why a package can't be used as input to the solver. e.g. it is
for a different platform, or conflicts with a user-provided constraint. *)valpp_rejection:rejectionFmt.tvalload:t->OpamPackage.t->OpamFile.OPAM.t(** [load t pkg] loads the opam metadata for [pkg]. *)valcandidates:t->OpamPackage.Name.t->(OpamPackage.Version.t*rejectionoption)list(** [candidates t name] is the list of available versions of [name], in order
of decreasing preference. If the user or environment provides additional
constraints that mean a version should be rejected, include that here too. Rejects
are only used for generating diagnostics reports. *)valuser_restrictions:t->OpamPackage.Name.t->OpamFormula.version_constraintoption(** [user_restrictions t pkg] is the user's constraint on [pkg], if any. This is just
used for diagnostics; you still have to filter them out yourself in [candidates]. *)valfilter_deps:t->OpamPackage.t->OpamTypes.filtered_formula->OpamTypes.formula(** [filter_deps t pkg f] is used to pre-process depends and conflicts.
[pkg] is the package which has the dependency [f].
For example, you can use this to filter out dependencies that are only needed on Windows
if the platform is Linux. *)endmoduletypeSOLVER=sigtypettypeselectionstypediagnosticsvalsolve:t->OpamPackage.Name.tlist->(selections,diagnostics)result(** [solve t package_names] finds a compatible set of package versions that
includes all packages in [package_names] and their required dependencies. *)valpackages_of_result:selections->OpamPackage.tlistvaldiagnostics:?verbose:bool->diagnostics->string(** [diagnostics d] is a message explaining why [d] failed, generated by
performing another solve which doesn't abort on failure. *)end