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__/textmerge.cpython-313.pyc
�

p��g���.�"SS5r"SS\5rg)c�j�\rSrSrSrSrSrSr\\\4SjrSr	Sr
S	rSS
jrSSjr
\S5rS
rg)�	TextMerge�a�Base class for text-mergers
Subclasses must implement _merge_struct.

Many methods produce or consume structured merge information.
This is an iterable of tuples of lists of lines.
Each tuple may have a length of 1 - 3, depending on whether the region it
represents is conflicted.

Unconflicted region tuples have length 1.
Conflicted region tuples have length 2 or 3.  Index 1 is text_a, e.g. THIS.
Index 1 is text_b, e.g. OTHER.  Index 2 is optional.  If present, it
represents BASE.
s	<<<<<<< 
s	>>>>>>> 
s=======
c�(�XlX lX0lg�N��a_marker�b_marker�split_marker)�selfrr	r
s    �2/usr/lib/python3/dist-packages/breezy/textmerge.py�__init__�TextMerge.__init__*s�� �
� �
�(��c��[S5e)zuReturn structured merge info.  Must be implemented by subclasses.
See TextMerge docstring for details on the format.
z_merge_struct is abstract)�NotImplementedError)rs r�
_merge_struct�TextMerge._merge_struct/s��"�"=�>�>rc#��# �UHen[U5S:XaUSShv�N M!URv� USShv�N URv� USShv�N URv� Mg gNON4N7f)z%Convert merge result tuples to lines.��N)�lenrr
r	)r�struct_iter�liness   r�struct_to_lines�TextMerge.struct_to_lines5sl��� �E��5�z�Q�� ��8�#�#��m�m�#� ��8�#�#��'�'�'� ��8�#�#��m�m�#�!�#�$�#�s1�A5�A/�A5�A1�A5�A3�A5�1A5�3A5c#�# �UHDn[US5S:�aUv� M[U5S:�dM,[US5S:�dM@Uv� MF g7f)z2Iterate through input tuples, skipping empty ones.rrN)r)rr�groups   r�iter_useful�TextMerge.iter_usefulAsC��� �E��5��8�}�q� ����U��a��C��a��M�A�$5���	!�s�+A�A�	Ac��/nSnURU5H'nURU5 [U5S:�dM%SnM) URU5U4$)z�Produce an iterable of lines, suitable for writing to a file
Returns a tuple of (line iterable, conflict indicator)
If reprocess is True, a two-way merge will be performed on the
intermediate structure, to reduce conflict regions.
FrT)�merge_struct�appendrr)r�	reprocess�struct�	conflictsrs     r�merge_lines�TextMerge.merge_linesIsW�����	��&�&�y�1�E��M�M�%� ��5�z�A�~� �	�2��#�#�F�+�Y�6�6rc�p�URUR55nUSLaURU5$U$)zProduce structured merge info.T)rr�reprocess_struct)rr#rs   rr!�TextMerge.merge_structWs:���&�&�t�'9�'9�';�<������(�(��5�5��rc#�# �UH@n[U5S:XaUv� M[USUS5R5Shv�N MB gN	7f)aPerform a two-way merge on structural merge info.
This reduces the size of conflict regions, but breaks the connection
between the BASE text and the conflict region.

This process may split a single conflict region into several smaller
ones, but will not introduce new conflicts.
rrN)r�Merge2r!)rrs  rr)�TextMerge.reprocess_struct_sH���!�E��5�z�Q����!�%��(�E�!�H�5�B�B�D�D�D�	!�E�s�>A�A
�
ArN)F)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�A_MARKER�B_MARKER�SPLIT_MARKERr
rrrr&r!�staticmethodr)�__static_attributes__�rrrrsS��� �H��H��L� (�8�,�)�
?�
$��7���E��Errc�j�\rSrSrSr\R\R\R4Sjr	Sr
Srg)r,�ozvTwo-way merge.
In a two way merge, common regions are shown as unconflicting, and uncommon
regions produce conflicts.
c�H�[RXXE5 XlX lgr)rr
�lines_a�lines_b)rr<r=rr	r
s      rr
�Merge2.__init__us��	���4�8�B����rc#�R# �SSKnURSURUR5nSnSnUR	5H@upVnURX5URXF4v� URXUU-4v� XW-nXg-nMB URUSURUS4v� g7f)z7Return structured merge info.
See TextMerge docstring.
rN���)�patiencediff�PatienceSequenceMatcherr<r=�get_matching_blocks)rrA�sm�pos_a�pos_b�ai�bi�ls        rr�Merge2._merge_struct�s����	�
�
1�
1�$����d�l�l�
S�������/�/�1�I�B�A��<�<��)�4�<�<��+A�B�B��<�<��!�V�,�.�.��F�E��F�E�
2��|�|�E�"�%�t�|�|�E�"�'=�>�>�s�B%B')r<r=N)r.r/r0r1r2rr3r4r5r
rr7r8rrr,r,os.����#�#��#�#��+�+�
�?rr,N)rr,r8rr�<module>rKs ��*WE�WE�t#?�Y�#?r

Youez - 2016 - github.com/yon3zu
LinuXploit