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

Method CopyFile

cpp/src/arrow/filesystem/filesystem.cc:431–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431Status SubTreeFileSystem::CopyFile(const std::string& src, const std::string& dest) {
432 ARROW_ASSIGN_OR_RAISE(auto real_src, PrependBaseNonEmpty(src));
433 ARROW_ASSIGN_OR_RAISE(auto real_dest, PrependBaseNonEmpty(dest));
434 return base_fs_->CopyFile(real_src, real_dest);
435}
436
437Result<std::shared_ptr<io::InputStream>> SubTreeFileSystem::OpenInputStream(
438 const std::string& path) {

Callers 1

CopyFilesFunction · 0.45

Calls 1

SleepMethod · 0.80

Tested by

no test coverage detected