Module persistence

Source
Expand description

utilities for reading and persisting configuration

Functionsยง

ensure_created
make sure the config directory path exists, creating it if necessary and returning an error if creation failed
get_config_path
get the full config path
get_directory
get the base config directory path
read_config
try to read and deserialize our config file, returning any errors that might occur
write_config
try to write configuration to file, returning any errors that might occur