pub fn data_dir() -> Option<PathBuf>
Return the data directory for the current platform or XDG_DATA_HOME if specified.