Closed darvid7 closed 2 years ago
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.
FileSystemDirectoryHandle.length
Also somewhat related to #101, requesting some method to get metadata from files/directories.
This issue has been ported to the new spec: https://github.com/whatwg/fs/issues/12
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.