Skip to content

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

@ennoruijters

Description

@ennoruijters

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions