MCPcopy Create free account
hub / github.com/apache/arrow / fs___CopyFiles

Function fs___CopyFiles

r/src/filesystem.cpp:284–291  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

282
283// [[arrow::export]]
284void fs___CopyFiles(const std::shared_ptr<fs::FileSystem>& source_fs,
285 const std::shared_ptr<fs::FileSelector>& source_sel,
286 const std::shared_ptr<fs::FileSystem>& destination_fs,
287 const std::string& destination_base_dir,
288 int64_t chunk_size = 1024 * 1024, bool use_threads = true) {
289 StopIfNotOk(fs::CopyFiles(source_fs, *source_sel, destination_fs, destination_base_dir,
290 io::default_io_context(), chunk_size, use_threads));
291}
292
293#if defined(ARROW_R_WITH_S3)
294

Callers 1

_arrow_fs___CopyFilesFunction · 0.85

Calls 2

StopIfNotOkFunction · 0.85
CopyFilesFunction · 0.85

Tested by

no test coverage detected