Documentation ¶
Overview ¶
Package xdg implements the XDG Base Directory Specification.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheHome ¶
func CacheHome() string
CacheHome defines the base directory relative to which user-specific non-essential data files should be stored.
func ConfigDirs ¶
func ConfigDirs() []string
ConfigDirs defines the preference-ordered set of base directories to search for configuration files in addition to the ConfigHome base directory.
func ConfigHome ¶
func ConfigHome() string
ConfigHome defines the base directory relative to which user-specific configuration files should be stored.
func DataDirs ¶
func DataDirs() []string
DataDirs defines the preference-ordered set of base directories to search for data files in addition to the DataHome base directory.
func DataHome ¶
func DataHome() string
DataHome defines the base directory relative to which user-specific data files should be stored.
func RuntimeDir ¶
RuntimeDir defines the base directory relative to which user-specific non-essential runtime files and other file objects should be stored.
Types ¶
This section is empty.