pub fn get_data_dir() -> Result<PathBuf, DirectoryError>Expand description
Get the data directory for the application.
Follows the XDG Base Directory Specification for linux, and the equivalents on other platforms.
See the directories crate for more information.
ยงErrors
This function will return an error if the data directory could not be found.