Skip to main content

read_xdg_config

Function read_xdg_config 

Source
pub fn read_xdg_config() -> Result<Option<Vec<String>>>
Expand description

Layer 2: reads keys from the XDG configuration file (config.toml).

Returns None if the file does not exist or the XDG path is unavailable. Returns Err if the file exists but contains invalid TOML.