userdirs
Common directories for user applications, as specified by the XDG Base Directory Specification, with some adaptations made for macOS.
- See also
dirs for conventional directories for an application of a given name, including system services.
Type members
Value members
Concrete methods
A directory in which to read and write user-specific non-essential (cached) data.
A directory in which to read and write user-specific non-essential (cached) data.
Should be considered read-writable.
Corresponds to XDG_CACHE_HOME.
A list of preference ordered directories relative to which configuration files should be searched, in addition to configHome.
A list of preference ordered directories relative to which configuration files should be searched, in addition to configHome.
Should be considered read-only.
Corresponds to XDG_CONFIG_DIRS.
A directory relative to which user-specific configuration files should be written.
A directory relative to which user-specific configuration files should be written.
Should be considered read-writable.
Corresponds to XDG_CONFIG_HOME.
A directory relative to which user-specific data files should be written.
A directory relative to which user-specific data files should be written.
Should be considered read-writable.
Corresponds to XDG_DATA_HOME.
A directory in which to read and write user-specific runtime files, such as sockets and small temporary files.
A directory in which to read and write user-specific runtime files, such as sockets and small temporary files.
Should be considered read-writable.
Corresponds to XDG_RUNTIME_DIR, with a fallback to ~/.run