XdgSourceThe user's home directory. Uses $USERPROFILE on Windows, $HOME otherwise.
The directory where the application should read/write config files.
The directory where the application should read/write cached files.
The directory where the application should store socket files.
Constructor of type t. ~win32 (default: Sys.win32) determines whether to use Win32-specific APIs. ~env is the function to get environment variables, typically Sys.getenv_opt.