Allow `Directory` to hook into the browser's FileSystem API
Michael-F-Bryan opened this issue · comments
Michael Bryan commented
The FileSystem API is a browser spec that gives you the ability to write to files/directories on the user's machine. Being able to construct a Directory
using a FileSystemDirectoryHandle
would allow users to mount host files in the same way that the wasmer
CLI does.
It also provides a origin-specific filesystem called the Origin Priviate File System which is stored in a hidden location on disk.