code: func FindPlugins(kind string, dirs []string) PluginMetaSet {
  	return ResolvePluginPaths(FindPluginPaths(kind, dirs))
  }
docs: // FindPlugins looks in the given directories for files whose filenames
  // suggest that they are plugins of the given kind (e.g. "provider") and
  // returns a PluginMetaSet representing the discovered potential-plugins.
  //
  // Currently this supports two different naming schemes. The current
  // standard naming scheme is a subdirectory called $GOOS-$GOARCH containing
  // files named terraform-$KIND-$NAME-V$VERSION. The legacy naming scheme is
  // files directly in the given directory whose names are like
  // terraform-$KIND-$NAME.
  //
  // Only one plugin will be returned for each unique plugin (name, version)
  // pair, with preference given to files found in earlier directories.
  //
  // This is a convenience wrapper around FindPluginPaths and ResolvePluginsPaths.