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

S3Iterator Strips / from Directory #116

Description

@amarcionek

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions