std::os::env

get_home_dir

fn String? get_home_dir(Allocator allocator)
Returns the current user's home directory.

Parameters