code: func (m *Manager) UpdateRepositories() error {
  	rf, err := repo.LoadRepositoriesFile(m.HelmHome.RepositoryFile())
  	if err != nil {
  		return err
  	}
  	repos := rf.Repositories
  	if len(repos) > 0 {
  		// This prints warnings straight to out.
  		if err := m.parallelRepoUpdate(repos); err != nil {
  			return err
  		}
  	}
  	return nil
  }
docs: // UpdateRepositories updates all of the local repos to the latest.