From 39202d73015b547a067b140927db1d90dd11ec26 Mon Sep 17 00:00:00 2001 From: Hong Ooi Date: Tue, 13 Oct 2020 03:34:34 +1100 Subject: [PATCH] fix missing arg --- R/azcopy.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/azcopy.R b/R/azcopy.R index 9be6bcf..95f7926 100644 --- a/R/azcopy.R +++ b/R/azcopy.R @@ -125,13 +125,13 @@ azcopy_download_opts.blob_container <- function(container, overwrite=FALSE, recu 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", 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", if(check_md5) c("--check-md5", "FailIfDifferent"))