List entry names of a directory; directory names end with /. Missing directories list as empty.
Acquire an exclusive lock (for example across browser tabs). Rejects if it is held elsewhere.
All stored file paths (for inspection and tests).
Read a file. Resolves to null if it does not exist.
Remove a file or directory (recursively). Missing entries are ignored.
Release a lock acquired with lock().
Create or replace a file. Should replace the file atomically.
Keeps files in memory. Useful for tests, Node.js, and environments without OPFS. Share one instance between CereusDB instances to simulate a reload.