Skip to main content

Module models

Module models 

Source

Structs§

GlobalConfig
Global per-user config, stored at ~/.config/vyn/global.toml.
HistoryEntry
A single entry in the push/pull history log, stored under .vyn/history/.
IdentityConfig
Persisted identity, stored in .vyn/identity.toml.
VaultConfig
Persisted vault configuration, stored in .vyn/config.toml.

Functions§

global_config_path
Returns the path to ~/.config/vyn/global.toml (XDG-compliant).
load_global_config
Loads GlobalConfig from disk, returning a default value if missing or malformed.
save_global_config
Persists GlobalConfig to disk, creating the directory if needed.