Skip to main content

config_dir

Function config_dir 

Source
pub fn config_dir() -> Option<PathBuf>
Expand description

The app’s configuration directory, for small settings files: Application Support on Apple platforms (whose preferences proper are the user defaults), the roaming %APPDATA% on Windows, $XDG_CONFIG_HOME on Linux. With DAY_DATA_DIR set (as the Android and HarmonyOS hosts do) it is that directory’s config.