2 ms·
The type of files accessed is radically different: The local FS acesses already existing files that users typically manage by hand, whereas the origin-private F
by xg15 5y ago
The type of files accessed is radically different: The local FS acesses already existing files that users typically manage by hand, whereas the origin-private FS accesses files that the webapp created itself and will typically manage internally.
In Unix terms, the former gives you access to parts of /home, the latter to parts of /var or /tmp.
I'm also not sure if calling them different "implementations" (as I did in the GP) is really the best way to put it. Both filesystem objects implement the same interface, but you call different APIs to obtain the objects in the first place and would use them in different contexts.
My issue was that the motivating example was about rebuilding the "open"/"save as" functionality from desktop apps, which the local FS API was tailor-made for - but the announcement is about the origin-private FS API, which has a completely different purpose.