Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val name : OpamUrl.backend
val pull_url :
OpamTypes.package ->
OpamTypes.dirname ->
OpamHash.t option ->
OpamTypes.url ->
OpamTypes.generic_file OpamTypes.download OpamProcess.job
pull_url package local_dir checksum remote_url
pull the contents of remote_url
into local_dir
. Can return either a file or a directory. checksum
is the optional expected checksum.
val pull_repo : OpamTypes.repository -> unit OpamProcess.job
pull_repo
pull the contents of a repository.
val pull_archive :
OpamTypes.repository ->
OpamTypes.url ->
OpamTypes.filename OpamTypes.download OpamProcess.job
pull_archive repo archive
pull archive
in the given repository.
val revision : OpamTypes.repository -> OpamTypes.version option OpamProcess.job
Return the (optional) revision of a given repository. Only useful for VCS backends.