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

s3: top level entries #4

Open
momolog opened this issue May 27, 2012 · 2 comments
Open

s3: top level entries #4

momolog opened this issue May 27, 2012 · 2 comments

Comments

@momolog
Copy link

momolog commented May 27, 2012

Given we have an S3 bucket with the following content:

dir1-
    |-subdir1
    |-subdir2
    |-file1
dir2-
    |-file2

Connecting to the bucket like in the s3-example, i would suspect to get the top-level "directories" dir1 and dir2 in the bucket by doing

box[''].entries

or

box['/'].entries

This does not work, the result is []

However, doing

box['dir1'].entries

we get back an array containing subdir1, subdir1 and file1
as expected.

So the behavior in the top level seems to be a bug.

@al6x
Copy link
Owner

al6x commented May 5, 2013

Agreed, the box['/'].entries should work, looks like a bug.

@momolog
Copy link
Author

momolog commented May 12, 2013

This pull request should fix it:
al6x/vos#8

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

2 participants