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

Function _arrow_fs___FileSystem__CopyFile

r/src/arrowExports.cpp:3450–3458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3448// filesystem.cpp
3449void fs___FileSystem__CopyFile(const std::shared_ptr<fs::FileSystem>& file_system, const std::string& src, const std::string& dest);
3450extern "C" SEXP _arrow_fs___FileSystem__CopyFile(SEXP file_system_sexp, SEXP src_sexp, SEXP dest_sexp){
3451BEGIN_CPP11
3452 arrow::r::Input<const std::shared_ptr<fs::FileSystem>&>::type file_system(file_system_sexp);
3453 arrow::r::Input<const std::string&>::type src(src_sexp);
3454 arrow::r::Input<const std::string&>::type dest(dest_sexp);
3455 fs___FileSystem__CopyFile(file_system, src, dest);
3456 return R_NilValue;
3457END_CPP11
3458}
3459// filesystem.cpp
3460std::shared_ptr<arrow::io::InputStream> fs___FileSystem__OpenInputStream(const std::shared_ptr<fs::FileSystem>& file_system, const std::string& path);
3461extern "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