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

AWS S3 listKeys not standard? #190

Open
ecokisoli opened this issue Jul 11, 2018 · 0 comments
Open

AWS S3 listKeys not standard? #190

ecokisoli opened this issue Jul 11, 2018 · 0 comments
Assignees

Comments

@ecokisoli
Copy link

ecokisoli commented Jul 11, 2018

Hi. I've noticed that method listKeys does not return the same array structure between different adapters (Local and S3). Standard seems to be ['dirs' => [ ], 'keys' => [ ] ] whereas the AWS S3 adapter returns an array of the keys. As a result my code is not compatible when I switch from one adapter to the other.
Any thoughts about it?
My context is a Symfony project, with the following bundles:

  • "knplabs/knp-gaufrette-bundle": "~0.5",
  • "gaufrette/aws-s3-adapter": "~0.4"
    Thanks.
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

No branches or pull requests

3 participants