original_docstring: Runs a preprocessor plugin on a file system.
  
      Args:
        file_system (dfvfs.FileSystem): file system to be preprocessed.
        mount_point (dfvfs.PathSpec): mount point path specification that refers
            to the base location of the file system.
        storage_writer (StorageWriter): storage writer.
        plugin (ArtifactPreprocessorPlugin): preprocessor plugin.
  
      Return:
        PreprocessMediator: preprocess mediator.
      
docstring: Runs a preprocessor plugin on a file system.
docstring_tokens: Runs a preprocessor plugin on a file system .
code: def _RunPreprocessorPluginOnFileSystem(
        self, file_system, mount_point, storage_writer, plugin):
      """Runs a preprocessor plugin on a file system.
  
      Args:
        file_system (dfvfs.FileSystem): file system to be preprocessed.
        mount_point (dfvfs.PathSpec): mount point path specification that refers
            to the base location of the file system.
        storage_writer (StorageWriter): storage writer.
        plugin (ArtifactPreprocessorPlugin): preprocessor plugin.
  
      Return:
        PreprocessMediator: preprocess mediator.
      """
      artifact_definition = self._artifacts_registry.GetDefinitionByName(
          plugin.ARTIFACT_DEFINITION_NAME)
      self.assertIsNotNone(artifact_definition)
  
      session = sessions.Session()
      test_knowledge_base = knowledge_base.KnowledgeBase()
      test_mediator = mediator.PreprocessMediator(
          session, storage_writer, test_knowledge_base)
  
      searcher = file_system_searcher.FileSystemSearcher(file_system, mount_point)
  
      plugin.Collect(test_mediator, artifact_definition, searcher, file_system)
  
      return test_mediator
code_tokens: def _RunPreprocessorPluginOnFileSystem ( self , file_system , mount_point , storage_writer , plugin ) : artifact_definition = self . _artifacts_registry . GetDefinitionByName ( plugin . ARTIFACT_DEFINITION_NAME ) self . assertIsNotNone ( artifact_definition ) session = sessions . Session ( ) test_knowledge_base = knowledge_base . KnowledgeBase ( ) test_mediator = mediator . PreprocessMediator ( session , storage_writer , test_knowledge_base ) searcher = file_system_searcher . FileSystemSearcher ( file_system , mount_point ) plugin . Collect ( test_mediator , artifact_definition , searcher , file_system ) return test_mediator
short_docstring: Runs a preprocessor plugin on a file system.
short_docstring_tokens: Runs a preprocessor plugin on a file system .
comment: """Runs a preprocessor plugin on a file system.
  
      Args:
        file_system (dfvfs.FileSystem): file system to be preprocessed.
        mount_point (dfvfs.PathSpec): mount point path specification that refers
            to the base location of the file system.
        storage_writer (StorageWriter): storage writer.
        plugin (ArtifactPreprocessorPlugin): preprocessor plugin.
  
      Return:
        PreprocessMediator: preprocess mediator.
      """