Expand description
Where the tool keeps its files.
Linux and macOS share one XDG layout, the same as Ailloy and every MKLab
tool: config in $XDG_CONFIG_HOME/<tool> (default ~/.config/<tool>) and
cache in $XDG_CACHE_HOME/<tool> (default ~/.cache/<tool>). Windows uses
its native folders (%APPDATA%, %LOCALAPPDATA%). Deliberately not
dirs::config_dir() on macOS, which is ~/Library/Application Support.
Constants§
- TOOL
- Folder name under the config and cache roots.
Functions§
- cache_
dir - The tool’s cache directory (update check, other disposable state).
- config_
dir - The tool’s config directory (holds
config.yaml).