Expand description
Host configuration: a hand-edited TOML file, not a state database.
This reverses an early instinct to copy murmur’s peers table. murmur’s
peers carry discovered state (snapshots, fetched_at, last_error),
which is why they need a store. coop’s hosts are pure user intent, so a
file is editable, diffable, and needs no migration story.
Structs§
Constants§
- TEMPLATE
- Where the config lives:
~/.config/coop/config.toml. Written to the config path the first time coop runs without one.
Functions§
- default_
path - seed
- Write
TEMPLATEtopathunless something is already there.