code: def _list_add_result(
      self,
      files: List[str],
      file_path: str,
      file_name: str,
      results_filter: Optional[ObjectType],
  ) -> None:
      filtered = ["__pycache__", "__init__.py"]
      is_group = self.is_group(file_path)
      is_config = self.is_config(file_path)
      if (
          is_group
          and (
              results_filter is None
              or results_filter == ObjectType.GROUP
          )
          and file_name not in filtered
      ):
          files.append(file_name)
      if (
          is_config
          and file_name not in filtered
          and (
              results_filter is None
              or results_filter == ObjectType.CONFIG
          )
      ):
          # strip extension
          last_dot = file_name.rfind(".")
          if last_dot != -1:
              file_name = file_name[0:last_dot]
  
          files.append(file_name)
  
imports: import re
  from abc import abstractmethod
  from dataclasses import dataclass
  from typing import Dict, List, Optional
  from omegaconf import Container
  from hydra import version
  from hydra._internal.deprecation_warning import deprecation_warning
  from hydra.core.default_element import InputDefault
  from hydra.core.object_type import ObjectType
  from hydra.errors import HydraException
  from hydra.plugins.plugin import Plugin
label_desc: Use image node_id 11 for calling the ConfigSource obj's underlying member method code with example usage: obj._list_add_result(files, file_path, file_name, results_filter) without return types