Skip to main content

Module config

Module config 

Source

Structs§

DiffloreConfig

Enums§

ThemeMode

Functions§

load
Read <config_home>/config.toml. Missing or unreadable files yield DiffloreConfig::default(). We deliberately avoid pulling in serde
load_from_path
Load a config from an explicit path. Returns default on any I/O or parse failure (including missing file). Exposed for tests that need to point at a specific tempdir without racing on the shared DIFFLORE_HOME.