func HomeDirPath(envContainer EnvContainer) (string, error) {
	if home := envContainer.Env("HOME"); home != "" {
		return home, nil
	}
	return "", errors.New("$HOME is not set")
}
// HomeDirPath returns the home directory path.
//
// This will be $HOME for darwin and linux.
// This will be %USERPROFILE% for windows.
HomeDirPath returns the home directory path.

This will be $HOME for darwin and linux.
This will be %USERPROFILE% for windows.
// HomeDirPath returns the home directory path . // // This will be $HOME for darwin and linux . // This will be %USERPROFILE% for windows .
func HomeDirPath(envContainer EnvContainer) (string, error) {
	if home := envContainer.Env("HOME"); home != "" {
		return home, nil
	}
	return "", errors.New("$HOME is not set")
}
func HomeDirPath ( envContainer EnvContainer ) ( string , error ) { if home := envContainer . Env ( " " ) ; home != " " { return home , nil } return " " , errors . New ( " " ) }
HomeDirPath returns the home directory path.
HomeDirPath returns the home directory path .