OpamRepositoryPathDefines the file hierarchy in repositories
module type PATH = sig ... endModule type of internal representation of repositories. Use the functor Path.
module type PATH_REPR = sig ... endRepresentation of pathnames for a specific repository root kind
module Make
(I : PATH_REPR) :
PATH
with type repo_root = I.root
and type repo_dirname = I.dir
and type 'a typed_file = 'a I.typed_fileInstantiate repository paths by giving a filepath representation
val tar : OpamTypes.dirname -> OpamTypes.repository_name -> OpamTypes.filenameval download_cache : OpamTypes.dirname -> OpamTypes.dirnamePrefix where to store the downloaded files cache: $opam/download-cache. Warning, this is relative to the opam root, not a repository root.
val pin_cache_dir : unit -> OpamTypes.dirnamePin global cache, located in temporary directory, cleaned at end of process
val pin_cache : OpamUrl.t -> OpamTypes.dirnamePin cache for a given download url.
module Remote : sig ... endUrl constructor for parts of remote repositories, when applicable (http and rsync). Function take the repo's root url.