code: func AddChartToLocalRepo(ch *chart.Chart, path string) error {
  	_, err := chartutil.Save(ch, path)
  	if err != nil {
  		return err
  	}
  	return Reindex(ch, path+"/index.yaml")
  }
docs: // AddChartToLocalRepo saves a chart in the given path and then reindexes the index file