Skip to main content

Module paths

Module paths 

Source
Expand description

Linux XDG paths shared by the app, providers and hermetic test sessions. Use the explicit environment directory when set; otherwise use the XDG default below the user’s home.

Functions§

cache_dir
$XDG_CACHE_HOME or ~/.cache
config_dir
$XDG_CONFIG_HOME or ~/.config
data_dir
$XDG_DATA_HOME or ~/.local/share
state_dir
$XDG_STATE_HOME or ~/.local/state