Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Configuration 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.job
downloads 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.job
As download
, but with a specified output filename.