Returns the path to the user-level config file.
()
| 147 | |
| 148 | /// Returns the path to the user-level config file. |
| 149 | pub fn config_path() -> Option<PathBuf> { |
| 150 | crate::config::user_data_dir().map(|dir| dir.join("config.toml")) |
| 151 | } |
| 152 | |
| 153 | impl UserConfig { |
| 154 | /// Loads the user-level config file. |