The original plan from Google for the file system access API was to allow read/write of real files, but both Mozilla and Apple said that was too dangerous, and the OPFS was created as a compromise.
Yeah, it's going to be confusing for users when they want to actually want to use one of these files outside of the application that created it. But it's better than nothing!
well it makes sense that the browser can't work outside of the opfs boundary, but shouldn't there be a way to talk to the opfs from outside the browser?
At the moment, as I understand it, the OPFS virtual disk is completely isolated from the users disk.
This means you cannot just lightly query a 1GB file without first copying the 1GB from the users filesystem to the OPFS.
Any writes mean you must then copy the 1GB SQLite db file from OPFS to the users local filesystem too.
Is this correct?