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 :
OpamFilename.Dir.t ->
OpamTypes.repository_name ->
OpamTypes.dirname
Repository local path: $opam/repo/<name>
val update_cache : OpamTypes.repository -> OpamTypes.filename
Update cache
val repo : OpamTypes.repository -> OpamFile.Repo.t OpamFile.t
Return the repo file
val packages_dir : OpamTypes.repository -> OpamTypes.dirname
Packages folder: $opam/repo/$repo/packages
val packages :
OpamTypes.repository ->
string option ->
OpamTypes.package ->
OpamTypes.dirname
Package folder: $opam/repo/$repo/packages/XXX/$NAME.$VERSION
val opam :
OpamTypes.repository ->
string option ->
OpamTypes.package ->
OpamFile.OPAM.t OpamFile.t
Return the OPAM file for a given package: $opam/repo/$repo/packages/XXX/$NAME.$VERSION/opam
val descr :
OpamTypes.repository ->
string option ->
OpamTypes.package ->
OpamFile.Descr.t OpamFile.t
Return the description file for a given package: $opam/repo/$repo/packages/XXX/$NAME.VERSION/descr
val url :
OpamTypes.repository ->
string option ->
OpamTypes.package ->
OpamFile.URL.t OpamFile.t
urls $opma/repo/$repo/package/XXX/$NAME.$VERSION/url
val files :
OpamTypes.repository ->
string option ->
OpamTypes.package ->
OpamTypes.dirname
files $opam/repo/$repo/packages/XXX/$NAME.$VERSION/files
val archive : OpamTypes.repository -> OpamTypes.package -> OpamTypes.filename
Return the archive for a given package: $opam/repo/$repo/archives/$NAME.$VERSION.tar.gz
val archives_dir : OpamTypes.repository -> OpamTypes.dirname
Return the archive folder: $opam/repo/$repo/archives/
val upload_dir : OpamTypes.repository -> OpamTypes.dirname
Return the upload folder for a given version: $opam/repo/$repo/upload/
module Remote : sig ... end
Url constructor for parts of remote repositories, when applicable (http and rsync)