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

Method to get number of files in a FileSystemDirectoryHandle #215

Closed
darvid7 opened this issue Aug 13, 2020 · 2 comments
Closed

Method to get number of files in a FileSystemDirectoryHandle #215

darvid7 opened this issue Aug 13, 2020 · 2 comments
Milestone

Comments

@darvid7
Copy link
Contributor

darvid7 commented Aug 13, 2020

Currently I don't think there is a way to get the number of files in a directory without iterating over it.

It would be nice to be able to do something like FileSystemDirectoryHandle.length so we can determine how many files are in a directory.

@mkruisselbrink
Copy link
Contributor

Also somewhat related to #101, requesting some method to get metadata from files/directories.

@a-sully
Copy link
Collaborator

a-sully commented Mar 7, 2022

This issue has been ported to the new spec: whatwg/fs#12

@a-sully a-sully closed this as completed Mar 7, 2022
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