403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67922704 ( 67922704)
PHP Version : 8.5.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/usr/lib/python3/dist-packages/mercurial/interfaces/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/usr/lib/python3/dist-packages/mercurial/interfaces/__pycache__/matcher.cpython-313.pyc
�

6�h���^�SSKJr SSKrSSKJrJrJrJrJrJ	r	 SSK
JrJr "SS\5r
g)�)�annotationsN)�Callable�List�Optional�Protocol�Set�Union�)�HgPathT�UserMsgTc��\rSrSr%Sr\RSSj5r\RSSj5r\RSSj5r	\RSSj5r
SrS\S	'\
\RSS
j55r\RSSj5r\
\RSSj55r\RSS
j5r\RSSj5r\RSSj5r\RSSj5r\RSSj5r\RSSj5r\RSSj5r\RSSj5rSrg)�IMatcher�zQA protocol class that defines the common interface for all file matching
classes.c��g�N���selfs �>/usr/lib/python3/dist-packages/mercurial/interfaces/matcher.py�was_tampered_with_nonrec�!IMatcher.was_tampered_with_nonrec����c��grrrs r�was_tampered_with�IMatcher.was_tampered_with!rrc��grr)r�fns  r�__call__�IMatcher.__call__%rrc��grr)r�f�msgs   r�bad�IMatcher.bad+rrNz#Optional[Callable[[HgPathT], None]]�traversedirc��grrrs r�_files�IMatcher._files3���	rc��grrrs r�files�IMatcher.files8rrc��grrrs r�_fileset�IMatcher._fileset<r*rc��g)z!Returns True if f is in .files().Nr�rr"s  r�exact�IMatcher.exactA��rc��grrr2s  r�matchfn�IMatcher.matchfnErrc��g)axDecides whether a directory should be visited based on whether it
has potential matches in it or one of its subdirectories. This is
based on the match's primary, included, and excluded patterns.

Returns the string 'all' if the given directory and all subdirectories
should be visited. Otherwise returns True or False indicating whether
the given directory should be visited.
Nr�r�dirs  r�visitdir�IMatcher.visitdirIr5rc��g)aMDecides whether a directory should be visited based on whether it
has potential matches in it or one of its subdirectories, and
potentially lists which subdirectories of that directory should be
visited. This is based on the match's primary, included, and excluded
patterns.

This function is very similar to 'visitdir', and the following mapping
can be applied:

     visitdir | visitchildrenlist
    ----------+-------------------
     False    | set()
     'all'    | 'all'
     True     | 'this' OR non-empty set of subdirs -or files- to visit

Example:
  Assume matchers ['path:foo/bar', 'rootfilesin:qux'], we would return
  the following values (assuming the implementation of visitchildrenset
  is capable of recognizing this; some implementations are not).

  '' -> {'foo', 'qux'}
  'baz' -> set()
  'foo' -> {'bar'}
  # Ideally this would be 'all', but since the prefix nature of matchers
  # is applied to the entire matcher, we have to downgrade this to
  # 'this' due to the non-prefix 'rootfilesin'-kind matcher being mixed
  # in.
  'foo/bar' -> 'this'
  'qux' -> 'this'

Important:
  Most matchers do not know if they're representing files or
  directories. They see ['path:dir/f'] and don't know whether 'f' is a
  file or a directory, so visitchildrenset('dir') for most matchers will
  return {'f'}, but if the matcher knows it's a file (like exactmatcher
  does), it may return 'this'. Do not rely on the return being a set
  indicating that there are no files in this dir to investigate (or
  equivalently that if there are files to investigate in 'dir' that it
  will always return 'this').
Nrr:s  r�visitchildrenset�IMatcher.visitchildrensetTr5rc��g)z[Matcher will match everything and .files() will be empty --
optimization might be possible.Nrrs r�always�IMatcher.alwaysr5rc��g)z[Matcher will match exactly the list of files in .files() --
optimization might be possible.Nrrs r�isexact�IMatcher.isexact�r5rc��g)zWMatcher will match the paths in .files() recursively --
optimization might be possible.Nrrs r�prefix�IMatcher.prefix�r5rc��g)zXNone of .always(), .isexact(), and .prefix() is true --
optimizations will be difficult.Nrrs r�anypats�IMatcher.anypats�r5rr)�return�bool)rrrMrN)r"rr#zOptional[UserMsgT]rM�None)rMz
List[HgPathT])rMzSet[HgPathT])r"rrMrN)r;rrMzUnion[bool, bytes])r;rrMzUnion[Set[HgPathT], bytes])�__name__�
__module__�__qualname__�__firstlineno__�__doc__�abc�abstractmethodrrrr$r&�__annotations__�propertyr(r,r/r3r7r<r?rBrErHrK�__static_attributes__rrrrrs����	������	������	������
	������
8<�K�4�;�
��������	��������������	���0��0�	������	������	���(��(�T	���+��+�	���+��+�	���+��+�	���,��,rr)�
__future__rrU�typingrrrrrr	�
_basetypesrrrrrr�<module>r]s*��#�
����x,�x�x,r

Youez - 2016 - github.com/yon3zu
LinuXploit