
    ni                     H    d Z ddlmZmZ ed         Z	  G d de          ZdS )a   
This module defines the necessary classes and type hints for exposing the bare
minimum of the internal implementations for the pattern (regular expression)
matching backends. The exact structure of the backends is not solidified and is
subject to change.
    )LiteralOptional)best	hyperscanre2simplec                   J    e Zd ZdZdedeee         ee         f         fdZ	dS )_Backendz
	.. warning:: This class is not part of the public API. It is subject to
		change.

	The :class:`_Backend` class is the abstract base class defining how to match
	files against patterns.
	filereturnc                 T    t          | j        j         d| j        j         d          )a  
		Check the file against the patterns.

		*file* (:class:`str`) is the normalized file path to check.

		Returns a :class:`tuple` containing whether to include *file* (:class:`bool`
		or :data:`None`), and the index of the last matched pattern (:class:`int` or
		:data:`None`).
		.z".match_file() must be implemented.)NotImplementedError	__class__
__module____qualname__)selfr   s     M/var/www/html/gpu-tools/venv/lib/python3.11/site-packages/pathspec/backend.py
match_filez_Backend.match_file   s>     	
n  $."=   	 	     N)
__name__r   r   __doc__strtupler   boolintr    r   r   r
   r
      sR         C E(4.(3-*G$H      r   r
   N)r   typingr   r   BackendNamesHintobjectr
   r   r   r   <module>r!      s~            ?@ 
    v     r   