Function xdg_basedir::dirs::get_data_home
[−]
[src]
pub fn get_data_home() -> Result<PathBuf>
Get the data home directory.
If $XDG_DATA_HOME
is not set, it returns $HOME/.local/share
.