Expand description
Plugin-namespaced configuration store for extensions.
Values are stored as simple key = value lines under
~/.synaps-cli/plugins/<plugin-id>/config (or the active test/profile base).
This is intentionally separate from the global Synaps config so rich plugins
can own their settings without colonizing the core keyspace.
Structs§
- Plugin
Config Change - A single plugin-config change event.
Functions§
- plugin_
config_ path - Compute the on-disk config path for one plugin id.
- read_
plugin_ config - Read one plugin-owned config value.
- read_
plugin_ config_ from - Read one plugin-owned config value from an explicit path (testable core).
- subscribe_
changes - Subscribe to changes for selected keys in a plugin config file.
- subscribe_
changes_ at - Testable implementation of
subscribe_changesfor an explicit path. - write_
plugin_ config - Write one plugin-owned config value, preserving comments and unrelated keys.
- write_
plugin_ config_ to - Write one plugin-owned config value to an explicit path (testable core).