Skip to main content

config_path

Function config_path 

Source
pub fn config_path() -> PathBuf
Expand description

Phase D: location of the user’s optional config file. We use dirs::config_dir() rather than data_dir() so this lives in the platform-appropriate “preferences” directory (macOS ~/Library/Application Support, Linux ~/.config, Windows %APPDATA%). Doesn’t have to exist — load_relays returns an empty list if absent.