+
    …rœi/  ã                   ót   € R t ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
 ^ RIHt ^RIHt  ! R R	]4      tR
# )zÕ
This module provides the simple backend for :class:`~pathspec.pathspec.PathSpec`.

WARNING: The *pathspec._backends.simple* package is not part of the public API.
Its contents and structure are likely to change.
)ÚSequence)ÚOptional)Ú_Backend)ÚPattern)Úoverride)Úcheck_match_file)Úenumerate_patternsc                   ó^   a € ] tR t^t o RtRRRR/V 3R lR llt]V 3R lR l4       tR	tV t	R# )
ÚSimplePsBackendz�
The :class:`SimplePsBackend` class is the default (or simple) implementation
used by :class:`~pathspec.pathspec.PathSpec` for matching files.
Ú	no_filterNÚ
no_reversec                ó`   <€ V ^8„  d   QhRS[ S[,          RS[S[,          RS[S[,          RR/# )é   Úpatternsr   r   ÚreturnN)r   r   r   Úbool)ÚformatÚ__classdict__s   "€ÚD/usr/lib/python3/dist-packages/pathspec/_backends/simple/pathspec.pyÚ__annotate__ÚSimplePsBackend.__annotate__    s@   ø€ ÷ ñ á‘WÕðñ ‘d�^ð	ñ
 ‘t�nðð ñó    c               óX   € V'       * V n          \        W'       * V'       * R7      V n        R# )ao  
Initialize the :class:`SimplePsBackend` instance.

*patterns* (:class:`Sequence` of :class:`.Pattern`) contains the compiled
patterns.

*no_filter* (:class:`bool`) is whether to keep no-op patterns (:data:`True`),
or remove them (:data:`False`).

*no_reverse* (:class:`bool`) is whether to keep the pattern order
(:data:`True`), or reverse the order (:data:`True`).
)ÚfilterÚreverseN)Ú_is_reversedr   Ú	_patterns)Úselfr   r   r   s   &&$$r   Ú__init__ÚSimplePsBackend.__init__    s0   € ð( !+œN€$Ôðô /AØ”M¨z¬>ô/€$„.ñr   c                ó\   <€ V ^8„  d   QhRS[ RS[S[S[,          S[S[,          3,          /# )r   Úfiler   )ÚstrÚtupler   r   Úint)r   r   s   "€r   r   r   B   s1   ø€ ÷ 
Cñ 
C™Cð 
C¡E©(±4­.¹(Á3½-Ð*GÕ$Hñ 
Cr   c                óB   € \        V P                  WP                  4      # )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`).
)r   r   r   )r   r!   s   &&r   Ú
match_fileÚSimplePsBackend.match_fileA   s   € ô 
˜$Ÿ.™.¨$×0AÑ0AÓ	BÐBr   )r   r   )
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r&   Ú__static_attributes__Ú__classdictcell__)r   s   @r   r
   r
      s?   ø‡ € ñð
ð #ð	ð
  $÷ò ðB ÷
Có ö
Cr   r
   N)r,   Úcollections.abcr   Útypingr   Úpathspec.backendr   Úpathspec.patternr   Úpathspec._typingr   Úpathspec.utilr   Ú_utilsr   r
   © r   r   Ú<module>r7      s;   ðñõõõõ
õõõô2C�hö 2Cr   