module CB::Dirs

Defined in:

cb/dirs.cr

Constant Summary

CACHE = cb_path("XDG_CACHE_HOME", ".cache")

$XDG_CACHE_HOME defines the base directory relative to which user-specific non-essential data files should be stored. If $XDG_CACHE_HOME is either not set or empty, a default equal to $HOME/.cache should be used.

CERTS_DIR = Path[CONFIG, "certs"]
CONFIG = cb_path("XDG_CONFIG_HOME", ".config")

$XDG_CONFIG_HOME defines the base directory relative to which user-specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.