| 3536 | // filesystem.cpp |
| 3537 | void fs___CopyFiles(const std::shared_ptr<fs::FileSystem>& source_fs, const std::shared_ptr<fs::FileSelector>& source_sel, const std::shared_ptr<fs::FileSystem>& destination_fs, const std::string& destination_base_dir, int64_t chunk_size, bool use_threads); |
| 3538 | extern "C" SEXP _arrow_fs___CopyFiles(SEXP source_fs_sexp, SEXP source_sel_sexp, SEXP destination_fs_sexp, SEXP destination_base_dir_sexp, SEXP chunk_size_sexp, SEXP use_threads_sexp){ |
| 3539 | BEGIN_CPP11 |
| 3540 | arrow::r::Input<const std::shared_ptr<fs::FileSystem>&>::type source_fs(source_fs_sexp); |
| 3541 | arrow::r::Input<const std::shared_ptr<fs::FileSelector>&>::type source_sel(source_sel_sexp); |
| 3542 | arrow::r::Input<const std::shared_ptr<fs::FileSystem>&>::type destination_fs(destination_fs_sexp); |
| 3543 | arrow::r::Input<const std::string&>::type destination_base_dir(destination_base_dir_sexp); |
| 3544 | arrow::r::Input<int64_t>::type chunk_size(chunk_size_sexp); |
| 3545 | arrow::r::Input<bool>::type use_threads(use_threads_sexp); |
| 3546 | fs___CopyFiles(source_fs, source_sel, destination_fs, destination_base_dir, chunk_size, use_threads); |
| 3547 | return R_NilValue; |
| 3548 | END_CPP11 |
| 3549 | } |
| 3550 | // filesystem.cpp |
| 3551 | #if defined(ARROW_R_WITH_S3) |
| 3552 | std::shared_ptr<fs::S3FileSystem> fs___S3FileSystem__create(bool anonymous, std::string access_key, std::string secret_key, std::string session_token, std::string role_arn, std::string session_name, std::string external_id, int load_frequency, std::string region, std::string endpoint_override, std::string scheme, std::string proxy_options, bool background_writes, bool allow_bucket_creation, bool allow_bucket_deletion, bool check_directory_existence_before_creation, double connect_timeout, double request_timeout); |
nothing calls this directly
no test coverage detected