Function preferences_ron::prefs_base_dir [−][src]
pub fn prefs_base_dir() -> Option<PathBuf>
Expand description
Get full path to the base directory for preferences.
This makes no guarantees that the specified directory path actually exists (though you can
easily use std::fs::create_dir_all(..)
). Returns None
if the directory cannot be determined
or is not available on the current platform.