Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
This modules handles the conversion from older repository and package versions to the current one
val latest_version : OpamVersion.t
The latest version of the opam root format, that normal operation of this instance of opam requires
val as_necessary :
OpamSystem.lock ->
OpamTypes.dirname ->
OpamFile.Config.t ->
OpamFile.Config.t
Runs the upgrade from its current format to the latest version for the opam root at the given directory. A global write lock must be supplied, and the updated global config is returned.
val opam_file_from_1_2_to_2_0 :
?filename:OpamFile.OPAM.t OpamFile.t ->
OpamFile.OPAM.t ->
OpamFile.OPAM.t
Converts the opam file format, including rewriting availabillity conditions based on OCaml-related variables into dependencies. The filename is used to report errors
val opam_file :
?quiet:bool ->
?filename:OpamFile.OPAM.t OpamFile.t ->
OpamFile.OPAM.t ->
OpamFile.OPAM.t
Runs the opam file format from the file's format to current. Supplying filename
enables additional notification messages