Module xdgpaths
Getting XDG base directories.
Note
These functions are defined only on freedesktop systems.
See Also
Functions
Name | Description |
---|---|
xdgAllConfigDirs(subfolder)
|
The ordered set of non-empty base paths to search for configuration files, in descending order of preference. |
xdgAllDataDirs(subfolder)
|
The ordered set of non-empty base paths to search for data files, in descending order of preference. |
xdgCacheHome(subfolder, shouldCreate)
|
The base directory relative to which user-specific non-essential files should be stored. |
xdgConfigDirs(subfolder)
|
The ordered set of non-empty base paths to search for configuration files, in descending order of preference. |
xdgConfigHome(subfolder, shouldCreate)
|
The base directory relative to which user-specific configuration files should be stored. |
xdgDataDirs(subfolder)
|
The ordered set of non-empty base paths to search for data files, in descending order of preference. |
xdgDataHome(subfolder, shouldCreate)
|
The base directory relative to which user-specific data files should be stored. |
xdgRuntimeDir()
|
Path to runtime user directory. |