func BestKnownPath() (string, error) {
	dms3fsPath := config.DefaultPathRoot
	if os.Getenv(config.EnvDir) != "" {
		dms3fsPath = os.Getenv(config.EnvDir)
	}
	dms3fsPath, err := homedir.Expand(dms3fsPath)
	if err != nil {
		return "", err
	}
	return dms3fsPath, nil
}
// BestKnownPath returns the best known fsrepo path. If the ENV override is
// present, this function returns that value. Otherwise, it returns the default
// repo path.
BestKnownPath returns the best known fsrepo path. If the ENV override is
present, this function returns that value. Otherwise, it returns the default
repo path.
// BestKnownPath returns the best known fsrepo path . If the ENV override is // present this function returns that value . Otherwise it returns the default // repo path .
func BestKnownPath() (string, error) {
	dms3fsPath := config.DefaultPathRoot
	if os.Getenv(config.EnvDir) != "" {
		dms3fsPath = os.Getenv(config.EnvDir)
	}
	dms3fsPath, err := homedir.Expand(dms3fsPath)
	if err != nil {
		return "", err
	}
	return dms3fsPath, nil
}
func BestKnownPath ( ) ( string , error ) { dms3fsPath := config . DefaultPathRoot if os . Getenv ( config . EnvDir ) != " " { dms3fsPath = os . Getenv ( config . EnvDir ) } dms3fsPath , err := homedir . Expand ( dms3fsPath ) if err != nil { return " " , err } return dms3fsPath , nil }
BestKnownPath returns the best known fsrepo path.
BestKnownPath returns the best known fsrepo path .