func (repoInfo *RepositoryInfo) GetSearchTerm() string {
	if repoInfo.Index.Official {
		return repoInfo.LocalName
	}
	return repoInfo.RemoteName
}
// GetSearchTerm special-cases using local name for official index, and
// remote name for private indexes.
GetSearchTerm special-cases using local name for official index, and
remote name for private indexes.
// GetSearchTerm special - cases using local name for official index and // remote name for private indexes .
func (repoInfo *RepositoryInfo) GetSearchTerm() string {
	if repoInfo.Index.Official {
		return repoInfo.LocalName
	}
	return repoInfo.RemoteName
}
func ( repoInfo * RepositoryInfo ) GetSearchTerm ( ) string { if repoInfo . Index . Official { return repoInfo . LocalName } return repoInfo . RemoteName }
GetSearchTerm special-cases using local name for official index, and
remote name for private indexes.
GetSearchTerm special - cases using local name for official index and remote name for private indexes .