OpamRepositoryPathSourceDefines the file hierarchy in repositories
Repository local path: $opam/repo/<name>
Prefix where to store the downloaded files cache: $opam/download-cache. Warning, this is relative to the opam root, not a repository root.
Pin global cache, located in temporary directory, cleaned at end of process
Pin cache for a given download url.
Return the repo file
Packages folder: $repo/packages
Package folder: $repo/packages/XXX/$NAME.$VERSION
val opam :
OpamTypes.dirname ->
string option ->
OpamTypes.package ->
OpamFile.OPAM.t OpamFile.tReturn 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.tReturn 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.turls $repo/package/XXX/$NAME.$VERSION/url
files $repo/packages/XXX/$NAME.$VERSION/files