Files on the web

The web fallback keeps native.files in the browser's own private file store (the origin private file system), where there is one. It is not a folder the player can see, and it does not leave the browser: files.info() says { kind: 'private', visible: false, synced: false }. Where the browser has no such store, files live in memory until the page closes.

memoryFiles() is that in-memory store. A bridge takes any store of the same shape as its files option: list(), read(name), write(name, bytes), remove(name), and optionally watch(listener) to say the files changed from outside.