import "github.com/OpenPeeDeeP/xdg"
Package xdg impelements the XDG standard for application file locations.
CacheHome returns the location that should be used for application cache files
ConfigDirs returns a list of locations that should be used for system wide config files
ConfigHome returns the location that should be used for user specific config files
DataDirs returns a list of locations that should be used for system wide data files
DataHome returns the location that should be used for user specific data files
XDG is information about the currently running application
New returns an instance of XDG that is used to grab files for application use
CacheHome returns the location that should be used for application cache files for this specific application
ConfigDirs returns a list of locations that should be used for system wide config files for this specific application
ConfigHome returns the location that should be used for user specific config files for this specific application
DataDirs returns a list of locations that should be used for system wide data files for this specific application
DataHome returns the location that should be used for user specific data files for this specific application
QueryCache looks for the given filename in XDG paths for cache files. Returns an empty string if one was not found.
QueryConfig looks for the given filename in XDG paths for config files. Returns an empty string if one was not found.
QueryData looks for the given filename in XDG paths for data files. Returns an empty string if one was not found.
Package xdg imports 3 packages (graph) and is imported by 14 packages. Updated 2020-11-01. Refresh now. Tools for package owners.