Returns the home directory of username, or of the current user when it is empty, and whether the lookup worked.
home, ok := get_home_directory();
assert(!ok || home.count > 0);get_home_directory :: (username := "") -> (string, success: bool)
Parameters
- username := ""
Returns
- string
- success: bool