code: func NewForSource(source, version string, home helmpath.Home) (Installer, error) {
  	// Check if source is a local directory
  	if isLocalReference(source) {
  		return NewLocalInstaller(source, home)
  	} else if isRemoteHTTPArchive(source) {
  		return NewHTTPInstaller(source, home)
  	}
  	return NewVCSInstaller(source, version, home)
  }
docs: // NewForSource determines the correct Installer for the given source.