Expand description
Files an account keeps beside its database, on either target: the filesystem natively, OPFS on the web. Async because OPFS only answers through promises; natively the calls are the same std::fs ones as before.
Functions§
- list
- The files directly inside
dir; empty when it doesn’t exist. - read
- read_
cache - Read a Vector Cache file, sealed or from before sealing.
- remove
- rename
- write
- Replace
pathwhole: a reader never sees a partial file. - write_
cache - Write a Vector Cache file: sealed natively, so it is never a plain picture on disk.