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

Function fs___CopyFiles

r/src/filesystem.cpp:271–278  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

269
270// [[arrow::export]]
271void fs___CopyFiles(const std::shared_ptr<fs::FileSystem>& source_fs,
272 const std::shared_ptr<fs::FileSelector>& source_sel,
273 const std::shared_ptr<fs::FileSystem>& destination_fs,
274 const std::string& destination_base_dir,
275 int64_t chunk_size = 1024 * 1024, bool use_threads = true) {
276 StopIfNotOk(fs::CopyFiles(source_fs, *source_sel, destination_fs, destination_base_dir,
277 io::default_io_context(), chunk_size, use_threads));
278}
279
280#if defined(ARROW_R_WITH_S3)
281

Callers 1

_arrow_fs___CopyFilesFunction · 0.85

Calls 2

StopIfNotOkFunction · 0.85
CopyFilesFunction · 0.85

Tested by

no test coverage detected