func ParseIndexInfo(reposName string) (*IndexInfo, error) {
	indexName, _ := splitReposName(reposName)

	indexInfo, err := emptyServiceConfig.NewIndexInfo(indexName)
	if err != nil {
		return nil, err
	}
	return indexInfo, nil
}
// ParseIndexInfo will use repository name to get back an indexInfo.
ParseIndexInfo will use repository name to get back an indexInfo.
// ParseIndexInfo will use repository name to get back an indexInfo .
func ParseIndexInfo(reposName string) (*IndexInfo, error) {
	indexName, _ := splitReposName(reposName)
	indexInfo, err := emptyServiceConfig.NewIndexInfo(indexName)
	if err != nil {
		return nil, err
	}
	return indexInfo, nil
}
func ParseIndexInfo ( reposName string ) ( * IndexInfo , error ) { indexName , _ := splitReposName ( reposName ) indexInfo , err := emptyServiceConfig . NewIndexInfo ( indexName ) if err != nil { return nil , err } return indexInfo , nil }
ParseIndexInfo will use repository name to get back an indexInfo.
ParseIndexInfo will use repository name to get back an indexInfo .