This commit is contained in:
Hong Ooi 2020-10-13 03:34:34 +11:00
Родитель 5dcb45c7dd
Коммит 39202d7301
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -125,13 +125,13 @@ azcopy_download_opts.blob_container <- function(container, overwrite=FALSE, recu
if(check_md5) c("--check-md5", "FailIfDifferent")) if(check_md5) c("--check-md5", "FailIfDifferent"))
} }
azcopy_download_opts.file_share <- function(container, overwrite=FALSE, recursive=FALSE, ...) azcopy_download_opts.file_share <- function(container, overwrite=FALSE, recursive=FALSE, check_md5=FALSE, ...)
{ {
c(paste0("--overwrite=", tolower(as.character(overwrite))), if(recursive) "--recursive", c(paste0("--overwrite=", tolower(as.character(overwrite))), if(recursive) "--recursive",
if(check_md5) c("--check-md5", "FailIfDifferent")) if(check_md5) c("--check-md5", "FailIfDifferent"))
} }
azcopy_download_opts.adls_filesystem <- function(container, overwrite=FALSE, recursive=FALSE, ...) azcopy_download_opts.adls_filesystem <- function(container, overwrite=FALSE, recursive=FALSE, check_md5=FALSE, ...)
{ {
c(paste0("--overwrite=", tolower(as.character(overwrite))), if(recursive) "--recursive", c(paste0("--overwrite=", tolower(as.character(overwrite))), if(recursive) "--recursive",
if(check_md5) c("--check-md5", "FailIfDifferent")) if(check_md5) c("--check-md5", "FailIfDifferent"))