code: func Load(name string) (*chart.Chart, error) {
  	name = filepath.FromSlash(name)
  	fi, err := os.Stat(name)
  	if err != nil {
  		return nil, err
  	}
  	if fi.IsDir() {
  		if validChart, err := IsChartDir(name); !validChart {
  			return nil, err
  		}
  		return LoadDir(name)
  	}
  	return LoadFile(name)
  }
docs: // Load takes a string name, tries to resolve it to a file or directory, and then loads it.
  //
  // This is the preferred way to load a chart. It will discover the chart encoding
  // and hand off to the appropriate chart reader.
  //
  // If a .helmignore file is present, the directory loader will skip loading any files
  // matching it. But .helmignore is not evaluated when reading out of an archive.