GoogleChromeLabs / browser-fs-access

File System Access API with legacy fallback in the browser
https://googlechromelabs.github.io/browser-fs-access/demo/
Apache License 2.0
1.38k stars 84 forks source link

Ability to exclude folders when opening a directory recursively #77

Closed Amatewasu closed 2 years ago

Amatewasu commented 2 years ago

It would be nice to add the ability to exclude some folders when opening a directory recursively.

We could, for example, exclude the .git directory of a folder, etc.

I think a list of strings with the folder names to exclude could be a good start for this feature.

Amatewasu commented 2 years ago

I've opened a PR to pass a callback to say whether we want to skip this directory or not. This can filter the names for example.

80

tomayac commented 2 years ago

This was closed via #80.