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

Method CopyFile

python/pyarrow/src/arrow/python/filesystem.cc:143–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143Status PyFileSystem::CopyFile(const std::string& src, const std::string& dest) {
144 return SafeCallIntoPython([&]() -> Status {
145 vtable_.copy_file(handler_.obj(), src, dest);
146 return CheckPyError();
147 });
148}
149
150Result<std::shared_ptr<io::InputStream>> PyFileSystem::OpenInputStream(
151 const std::string& path) {

Callers

nothing calls this directly

Calls 3

SafeCallIntoPythonFunction · 0.85
CheckPyErrorFunction · 0.85
copy_fileMethod · 0.45

Tested by

no test coverage detected