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