Skip to main content

Module files

Module files 

Source
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
remove
rename
write
Replace path whole: a reader never sees a partial file.