Function xdgDataHome
The base directory relative to which user-specific data files should be stored.
string xdgDataHome
(
string subfolder = null,
bool shouldCreate = false
) nothrow @trusted;
Returns
Path to user-specific data directory or empty string on error.
Parameters
Name | Description |
---|---|
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). |