Expand description
The comment store as files: one YAML file per thread,
.devpage/comments/<page>/<id>.yml, under the served folder. It writes
nothing outside .devpage/, and finds a thread by its id through the
served folder, so a thread file that leads out of it is never read.
It also remembers what each thread file held when open pages last heard
of it, so a thread file is announced by the watcher only when someone
other than this store changed it — a write through the store is
announced once, by super::Comments, and a hand edit once, by the
watcher.
Structs§
Functions§
- problems
- The page’s thread files that don’t parse, as problems: listed on the page
in the preview and reported by
devpage check.