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.37k stars 82 forks source link

Add mode option #120

Closed simpros closed 2 years ago

simpros commented 2 years ago

Reading the documentation of the file system api for my undestanding it should be possible to specify a 'read' or 'readwrite' mode to either the showDirectoryPicker or showFilePicker method.

It would be nice to have this option also in this lib :)

tomayac commented 2 years ago

This is a new feature, and should be requested indeed! I'll work on it.