Function xdgConfigHome

The base directory relative to which user-specific configuration files should be stored.

string xdgConfigHome (
  string subfolder = null,
  bool shouldCreate = false
) nothrow @trusted;

Returns

Path to user-specific configuration directory or empty string on error.

Parameters

NameDescription
subfolder Subfolder to append to determined path.
shouldCreate If path does not exist, create directory using 700 permissions (i.e. allow access only for current user).

See Also

xdgAllConfigDirs, xdgConfigDirs