nealrichardson commented on a change in pull request #8101:
URL: https://github.com/apache/arrow/pull/8101#discussion_r483056088



##########
File path: cpp/src/arrow/filesystem/filesystem.h
##########
@@ -387,6 +387,14 @@ Result<std::shared_ptr<FileSystem>> 
FileSystemFromUriOrPath(
 
 /// @}
 
+/// \brief Copy files from one FileSystem to another
+ARROW_EXPORT
+Status CopyFiles(const std::shared_ptr<FileSystem>& src_fs,

Review comment:
       I've wanted some kind of object to contain fs and path (like what you 
get from FileSystemFromUri) for a while too. Yesterday in fact I was 
experimenting with using SubTreeFileSystem to hold that, since it initializes 
with a fs and path. That mostly works as expected (for the operations I was 
trying at least).




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to