docstr: Prepends to the search path.
  Note, this currently only takes effect if called before the ConfigRepository is instantiated.
  
  :param provider: who is providing this search path, can be Hydra,
         the @hydra.main() function, or individual plugins or libraries.
  :param path: path element, can be a file system path or a package path (For example pkg://hydra.conf)
  :param anchor: if string, acts as provider. if SearchPath can be used to match against provider and / or path
code: def prepend(
      self,
      provider: str,
      path: str,
      anchor: Optional[Union[SearchPathQuery, str]] = None,
  ) -> None:
      """
      Prepends to the search path.
      Note, this currently only takes effect if called before the ConfigRepository is instantiated.
  
      :param provider: who is providing this search path, can be Hydra,
             the @hydra.main() function, or individual plugins or libraries.
      :param path: path element, can be a file system path or a package path (For example pkg://hydra.conf)
      :param anchor: if string, acts as provider. if SearchPath can be used to match against provider and / or path
      """
      if anchor is None:
          self.config_search_path.insert(
              0, SearchPathElement(provider, path)
          )
      else:
          if isinstance(anchor, str):
              anchor = SearchPathQuery(anchor, None)
  
          idx = self.find_first_match(anchor)
          if idx != -1:
              if idx > 0:
                  self.config_search_path.insert(
                      idx, SearchPathElement(provider, path)
                  )
              else:
                  self.prepend(provider, path, None)
          else:
              self.prepend(provider, path, None)
  
file_path: hydra/hydra/_internal/config_search_path_impl.py
imports: from typing import List, MutableSequence, Optional, Union
  from hydra.core.config_search_path import ConfigSearchPath, SearchPathElement, SearchPathQuery
label_desc: Use image node_id 7 for calling the ConfigSearchPathImpl obj's underlying member method code with example usage: obj.prepend(provider, path, anchor) without return types