func SetHome(h string) {
	homeDir = h
}
SetHome sets the home directory for Glide.
package path
import (
	"fmt"
	"io"
	"os"
	"os/user"
	"path/filepath"
	"strings"
)
const DefaultGlideFile = "glide.yaml"
var VendorDir = "vendor"
var Tmp = ""
var homeDir = ""
var GlideFile = DefaultGlideFile
const LockFile = "glide.lock"
func Home() string {
	if homeDir != "" {
		return homeDir
	}
	u, err := user.Current()
	if err == nil && u.HomeDir != "" {
		homeDir = filepath.Join(u.HomeDir, ".glide")
	} else {
		cwd, err := os.Getwd()
		if err == nil {
			homeDir = filepath.Join(cwd, ".glide")
		} else {
			homeDir = ".glide"
		}
	}
	return homeDir
}