Function homeDir

Current user home directory.

string homeDir() nothrow @safe;

Returns

Path to user home directory, or an empty string if could not determine home directory. Relies on environment variables.

Note

This function does not cache its result.