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

Consider adding a recursive argument to ls() #252

Open
hagenw opened this issue Nov 15, 2024 · 0 comments
Open

Consider adding a recursive argument to ls() #252

hagenw opened this issue Nov 15, 2024 · 0 comments

Comments

@hagenw
Copy link
Member

hagenw commented Nov 15, 2024

As shown in audeering/audb#458 for backends that support folder structures (like Minio and Artifactory), calling our current implementation of ls() to get the first layer of folders can be very expensive.
We could consider adding a recursive=True argument to ls() to not break the current behavior. A user could then set it to recursive=False, and backends that support it, could then return the first layer, whereas backends that don't support folders return the same as for recursive=True.

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

1 participant