module XdgBaseDirectory::Lookup
Overview
look up base directories
Defined in:
xdg_base_directory/lookup.crConstant Summary
-
DEFAULT_CONFIG_DIRS =
"/etc/xdg"
-
DEFAULT_DATA_DIRS =
"/usr/local/share/:/usr/share/"
Class Method Summary
-
.home
The user's home directory
-
.xdg_cache_home
A single base directory relative to which user-specific non-essential (cached) data should be written.
-
.xdg_config_dirs
A set of preference ordered base directories relative to which configuration files should be searched.
-
.xdg_config_home
A single base directory relative to which user-specific configuration files should be written.
-
.xdg_data_dirs
A set of preference ordered base directories relative to which data files should be searched.
-
.xdg_data_home
A set of preference ordered base directories relative to which data files should be searched.
-
.xdg_runtime_dir
A single base directory relative to which user-specific runtime files and other file objects should be placed.
-
.xdg_state_home
$XDG_STATE_HOME defines the base directory relative to which user-specific state files should be stored.
Class Method Detail
A single base directory relative to which user-specific non-essential (cached) data should be written.
A set of preference ordered base directories relative to which configuration files should be searched.
A single base directory relative to which user-specific configuration files should be written.
A set of preference ordered base directories relative to which data files should be searched.
A set of preference ordered base directories relative to which data files should be searched.
A single base directory relative to which user-specific runtime files and other file objects should be placed.
$XDG_STATE_HOME defines the base directory relative to which user-specific state files should be stored. If $XDG_STATE_HOME is either not set or empty, a default equal to $HOME/.local/state should be used.