Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

S3Iterator Strips / from Directory #116

Open
amarcionek opened this issue Nov 27, 2018 · 0 comments
Open

S3Iterator Strips / from Directory #116

amarcionek opened this issue Nov 27, 2018 · 0 comments

Comments

@amarcionek
Copy link

I've noticed that the S3Iterator returns directory elements with an S3Path that is missing the / at the end of the key. With the results from the listobjects call, the code intentionally splits each returned object on the / and then feeds those elements to the S3Path. S3Path in turn build a URL, but then if would remove a / at the end if it exists.

What I don't understand is why? If a key ends with a / then its the only way to access that object.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant