drivendataorg / drivendataorg/cloudpathlib
Copy to non-existing S3 folder path creates a file with "/" instead of file name in that folder
Open
design decision
- Dominant language
- Python
- Stars
- 628
- Forks
- 88
- Avg merge
- 17h 28m
- Merged PRs (30d)
- 2
Description
Steps to reproduce:
```python
# take an existing file
src = S3Path("s3://my-bucket/file.txt")
# and copy it into non-existent folder
dst = S3Path("s3://my-bucket/destination/")
src.copy(dst)
```
**Current behavior**
Creates a file with name `/` inside the folder `s3://my-bucket/destination/`
**Expected behavior**
The file `s3://my-bucket/destination/file.txt` is created
Contributor guide
Assessment
This issue has not been assessed yet.