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

Function _arrow_fs___FileSystem__CopyFile

r/src/arrowExports.cpp:3493–3501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3491// filesystem.cpp
3492void fs___FileSystem__CopyFile(const std::shared_ptr<fs::FileSystem>& file_system, const std::string& src, const std::string& dest);
3493extern "C" SEXP _arrow_fs___FileSystem__CopyFile(SEXP file_system_sexp, SEXP src_sexp, SEXP dest_sexp){
3494BEGIN_CPP11
3495 arrow::r::Input<const std::shared_ptr<fs::FileSystem>&>::type file_system(file_system_sexp);
3496 arrow::r::Input<const std::string&>::type src(src_sexp);
3497 arrow::r::Input<const std::string&>::type dest(dest_sexp);
3498 fs___FileSystem__CopyFile(file_system, src, dest);
3499 return R_NilValue;
3500END_CPP11
3501}
3502// filesystem.cpp
3503std::shared_ptr<arrow::io::InputStream> fs___FileSystem__OpenInputStream(const std::shared_ptr<fs::FileSystem>& file_system, const std::string& path);
3504extern "C" SEXP _arrow_fs___FileSystem__OpenInputStream(SEXP file_system_sexp, SEXP path_sexp){

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected