Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Defines the file hierarchy in repositories
val create :
OpamTypes.dirname ->
OpamTypes.repository_name ->
OpamTypes.dirname
Repository local path: $opam/repo/<name>
val download_cache : OpamTypes.dirname -> OpamTypes.dirname
Prefix where to store the downloaded files cache: $opam/download-cache. Warning, this is relative to the opam root, not a repository root.
val repo : OpamTypes.dirname -> OpamFile.Repo.t OpamFile.t
Return the repo file
val packages_dir : OpamTypes.dirname -> OpamTypes.dirname
Packages folder: $repo/packages
val packages :
OpamTypes.dirname ->
string option ->
OpamTypes.package ->
OpamTypes.dirname
Package folder: $repo/packages/XXX/$NAME.$VERSION
val opam :
OpamTypes.dirname ->
string option ->
OpamTypes.package ->
OpamFile.OPAM.t OpamFile.t
Return the OPAM file for a given package: $repo/packages/XXX/$NAME.$VERSION/opam
val descr :
OpamTypes.dirname ->
string option ->
OpamTypes.package ->
OpamFile.Descr.t OpamFile.t
Return the description file for a given package: $repo/packages/XXX/$NAME.VERSION/descr
val url :
OpamTypes.dirname ->
string option ->
OpamTypes.package ->
OpamFile.URL.t OpamFile.t
urls $repo/package/XXX/$NAME.$VERSION/url
val files :
OpamTypes.dirname ->
string option ->
OpamTypes.package ->
OpamTypes.dirname
files $repo/packages/XXX/$NAME.$VERSION/files
module Remote : sig ... end
Url constructor for parts of remote repositories, when applicable (http and rsync). Function take the repo's root url.