Documentation
¶
Index ¶
Constants ¶
const DefaultCacheDirPerm = 0o755
DefaultCacheDirPerm is the default permission for cache directories.
Variables ¶
This section is empty.
Functions ¶
func GetXDGCacheDir ¶
GetXDGCacheDir returns the Atmos cache directory following XDG Base Directory Specification. It respects ATMOS_XDG_CACHE_HOME and XDG_CACHE_HOME environment variables. The directory is created if it doesn't exist.
func GetXDGConfigDir ¶
GetXDGConfigDir returns the Atmos config directory following XDG Base Directory Specification. It respects ATMOS_XDG_CONFIG_HOME and XDG_CONFIG_HOME environment variables. The directory is created if it doesn't exist.
func GetXDGDataDir ¶
GetXDGDataDir returns the Atmos data directory following XDG Base Directory Specification. It respects ATMOS_XDG_DATA_HOME and XDG_DATA_HOME environment variables. The directory is created if it doesn't exist.
func LookupXDGConfigDir ¶ added in v1.206.1
LookupXDGConfigDir resolves the Atmos config directory path without creating it. Use this for read-only checks where directory creation is not desired.
Types ¶
This section is empty.