Files
ServerSync/lib/pathspec/__pycache__/backend.cpython-314.pyc

25 lines
2.0 KiB
Plaintext
Raw Normal View History

2026-03-31 00:43:39 +03:00
+
k<><6B>i<EFBFBD><00><00>D<00>Rt^RIHtHt]R,t!RR]4tR#)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.
)<02>Literal<61>Optionalc<00>6a<00>]tRt^toRtV3RlRltRtVtR#)<06>_Backendz<64>
.. 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.
c<00>\<<01>V^8<>dQhRS[RS[S[S[,S[S[,3,/#)<03><00>file<6C>return)<05>str<74>tupler<00>bool<6F>int)<02>format<61> __classdict__s"<22><>7/tmp/pip-target-9typod50/lib/python/pathspec/backend.py<70> __annotate__<5F>_Backend.__annotate__s-<00><><00> <05> <05>C<EFBFBD> <05>E<EFBFBD>(<28>4<EFBFBD>.<2E>(<28>3<EFBFBD>-<2D>*G<>$H<> <05>c <0C>t<00>\VPP RVPP R24h)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`).
<EFBFBD>.z".match_file() must be implemented.)<04>NotImplementedError<6F> __class__<5F>
__module__<EFBFBD> __qualname__)<02>selfrs&&r<00>
match_file<EFBFBD>_Backend.match_files<<00><00> <1C>
<EFBFBD>n<EFBFBD>n<EFBFBD><1F><1F> <20><01>$<24>.<2E>.<2E>"=<3D>"=<3D>!><3E>?<1A><1B> <05>r<00>N)<08>__name__rr<00>__firstlineno__<5F>__doc__r<00>__static_attributes__<5F>__classdictcell__)rs@rrrs<00><><00><00><05> <05> rrN)<04>best<73> hyperscan<61>re2<65>simple)r <00>typingrr<00>BackendNamesHint<6E>objectrrrr<00><module>r*s.<00><01><04> <0B><1B>?<3F>@<40><10><04>
<05>v<EFBFBD>r