Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUserHomeDir ¶
GetUserHomeDir returns the home directory of the current user If the process is run as sudo, it will return the home directory of the sudo user ie. the original user (not root), based on the SUDO_USER env var
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.