OpamDownloadSourceConfiguration init and handling of downloading commands
val download :
?quiet:bool ->
?validate:bool ->
overwrite:bool ->
?compress:bool ->
?checksum:OpamHash.t ->
OpamUrl.t ->
OpamFilename.Dir.t ->
OpamFilename.t OpamProcess.jobdownloads a file from an URL, using Curl, Wget, or a custom configured tool, to the given directory. Returns the downloaded filename.
val download_as :
?quiet:bool ->
?validate:bool ->
overwrite:bool ->
?compress:bool ->
?checksum:OpamHash.t ->
OpamUrl.t ->
OpamFilename.t ->
unit OpamProcess.jobAs download, but with a specified output filename.