func SetHome(s string) error {
	if _, exists := os.LookupEnv("SNAP_REAL_HOME"); exists {
		return os.Setenv("SNAP_REAL_HOME", s)
	}
	return os.Setenv("HOME", s)
}
// SetHome sets the os-specific home path in the environment.
SetHome sets the os-specific home path in the environment.
// SetHome sets the os - specific home path in the environment .
func SetHome(s string) error {
	if _, exists := os.LookupEnv("SNAP_REAL_HOME"); exists {
		return os.Setenv("SNAP_REAL_HOME", s)
	}
	return os.Setenv("HOME", s)
}
func SetHome ( s string ) error { if _ , exists := os . LookupEnv ( " " ) ; exists { return os . Setenv ( " " , s ) } return os . Setenv ( " " , s ) }
SetHome sets the os-specific home path in the environment.
SetHome sets the os - specific home path in the environment .