Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support S3FileSystemProvider.copy(...) for directories #384

Open
2 tasks done
ennoruijters opened this issue Sep 29, 2021 · 0 comments · May be fixed by #385
Open
2 tasks done

Support S3FileSystemProvider.copy(...) for directories #384

ennoruijters opened this issue Sep 29, 2021 · 0 comments · May be fixed by #385

Comments

@ennoruijters
Copy link
Contributor

ennoruijters commented Sep 29, 2021

Task Description

FileSystemProvider.copy(Path, Path, CopyOption ...) for directories is documented by Java (via Files.copy(Path, Path, CopyOption[]) as:

If the file is a directory then it creates an empty directory in the target location (entries in the directory are not copied).

The current S3FileSystemProvider just throws an exception stating that is is not yet implemented, I propose to implement it.

Tasks

The following tasks will need to be carried out:

  • S3FileSystemProvider.copy(Path, Path, CopyOption...) should copy directories non-recursively, as documented by Java.
  • Include unit tests.

Task Relationships

This task:

Help

@ennoruijters ennoruijters linked a pull request Sep 29, 2021 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant