Exemple #1
0
func netrcPath() string {
	if s := os.Getenv("NETRC_PATH"); s != "" {
		return s
	}

	return filepath.Join(hkclient.HomePath(), netrcFilename)
}
Exemple #2
0
func hkHome() string {
	return filepath.Join(hkclient.HomePath(), ".hk")
}