Documentation ¶
Overview ¶
Package basedir provides access to XDG base directory spec. For more information, please see the spec: https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Home is the user's home directory. Home string // DataHome is the path to the directory where user data files // should be written. DataHome string // ConfigHome is the path to the directory where user // configuration files should be written. ConfigHome string // CacheHome is the path to the directory where non-essential // (cached) data should be written. CacheHome string // RuntimeDir is the path to the directory where runtime files // should be placed. RuntimeDir string // DataDirs is a slice of paths that should be searched for data // files. DataDirs []string // ConfigDirs is a slice of paths that should be searched for // configuration files. ConfigDirs []string )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.