403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.208
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/lib/python3/dist-packages/breezy/git/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/breezy/git/__pycache__/memorytree.cpython-313.pyc
�

p��g� ���SrSSKrSSKrSSKrSSKJr SSKJrJr SSK	J
r
JrJrJ
r
 SSK	Jr SSK	Jr SSKJr S	S
KJrJr S	SKJr "SS
\\R5rg)zGit Memory Trees.�N)�index_entry_from_stat)�Blob�Tree)�errors�lock�osutils�urlutils)�revision)�tree)�MemoryTransport�)�decode_git_path�encode_git_path)�MutableGitIndexTreec���\rSrSrSrSrSr\S5rSr	Sr
SrS	rS
r
SrSrS
rSrSrSrSrS SjrSrSrSrSrSrSrS!SjrS SjrSrSrSr Sr!g)"�
GitMemoryTree�$zA Git memory tree.c���[R"U5 XlURRR	5UlX l0UlSUlSUl	UR5 g�Nr)r�__init__�branch�
repository�get_mapping�mapping�store�index�_locks�
_lock_mode�_populate_from_branch)�selfrr�heads    �7/usr/lib/python3/dist-packages/breezy/git/memorytree.pyr�GitMemoryTree.__init__'sU���$�$�T�*����{�{�-�-�9�9�;����
���
��������"�"�$�c��g)NT��r s r"�_supports_executable�"GitMemoryTree._supports_executable1s��r$c�.�URR$�N)r�
controldirr's r"r,�GitMemoryTree.controldir4s���{�{�%�%�%r$c��g)NFr&�r �paths  r"�is_control_filename�!GitMemoryTree.is_control_filename8s��r$c��UR5 [U5Hup4X#bMURU5X#'M! SSS5 g!,(df   g=f)zSee MutableTree._gather_kinds.N)�lock_tree_write�	enumerate�kind)r �files�kinds�pos�fs     r"�
_gather_kinds�GitMemoryTree._gather_kinds;sB��
�
!�
!�
#�#�E�*����:�%�!%���1��E�J�+�$�
#�
#�s�A	�A	�	
Ac�:�URRX5 g)z*See MutableTree.put_file_bytes_non_atomic.N)�_file_transport�	put_bytes)r r0�bytess   r"�put_file_bytes_non_atomic�'GitMemoryTree.put_file_bytes_non_atomicBs�����&�&�t�3r$c��URRc/UlOUR5/Ul[	5UlURRc[
5nO<URURRRnURUnSU4/nU(Ga"UR5upAUR5H�upVn[R"U[U55n[R"U5(a<UR
R!U5 UR#X�RU45 M}[R$"U5(aFUR
R'X�RUR(5 UR+US5 M�[-UR.5e U(aGM!gg)z+Populate the in-tree state from the branch.N��file)rr!�_parent_ids�
last_revisionrr>rrr�pop�	iteritems�	posixpath�joinr�stat�S_ISDIR�mkdir�append�S_ISREGr?�data�_index_add_entry�NotImplementedErrorr)	r r�tree_id�treesr0�name�mode�sha�subpaths	         r"r�#GitMemoryTree._populate_from_branchFsT���;�;���#�!�D�� $� 2� 2� 4�5�D��.�0����;�;���#��6�D��j�j����!1�!1�2�7�7�G��:�:�g�&�D��d����� �9�9�;�L�T�#'�>�>�#3���C�#�.�.���t�/D�E���<�<��%�%��(�(�.�.�w�7��L�L�'�:�:�c�?�!;�<��\�\�$�'�'��(�(�2�2�7�J�J�s�O�<P�<P�Q��)�)�'�6�:�-�d�.H�.H�I�I�$4��er$c�8�U=RS-
slURS:Xa1URR5 SUlUR	5 [
R"UR5$![a U=RS-slef=f)zfLock the memory tree for reading.

This triggers population of data from the branch for its revision.
r
�r)	rr�	lock_readrrr�LogicalLockResult�unlock�
BaseExceptionr's r"r]�GitMemoryTree.lock_readas{��
	
���q���	��{�{�a�����%�%�'�"%����*�*�,��)�)�$�+�+�6�6���	��K�K�1��K��	�s�A A8�8!Bc��U=RS-
slURS:Xa2URR5 SUlUR	5 O'URS:Xa[
R"U5e[R"UR5$![a U=RS-slef=f)z"See MutableTree.lock_tree_write().r
�wr\)rrr]rrr�
ReadOnlyErrorr`rr^r_r's r"r4�GitMemoryTree.lock_tree_writeqs������q���		��{�{�a�����%�%�'�"%����*�*�,����C�'��*�*�4�0�0�(�
�%�%�d�k�k�2�2���	��K�K�1��K��	�s�AB �&B � !Cc��U=RS-
slURS:Xa2URR5 SUlUR	5 O&URS:Xa[
R"U5e[R"UR5$![a U=RS-slef=f)zSee MutableTree.lock_write().r
rcr\)rr�
lock_writerrrrdrr^r_r`r's r"rg�GitMemoryTree.lock_write�s������q���
	��{�{�a�����&�&�(�"%����*�*�,����C�'��*�*�4�0�0��)�)�$�+�+�6�6���	��K�K�1��K��	�s�BB�!Cc���URS:Xa8/Ul0UlURR	5 SUlSUlgU=RS-slg!SUlSUlf=f)z^Release a lock.

This frees all cached state when the last lock context for the tree is
left.
r
rN)rrFrrr_rr's r"r_�GitMemoryTree.unlock�sb���;�;�!��!�D���D�J�
'����"�"�$����"&����K�K�1��K�� ���"&���s�A�A/c��URRU5n[R"URSSSSSUR
SSS4
5nU$r)r>rL�os�stat_result�st_mode�st_size)r r0�mem_stat�stat_vals    r"�_lstat�GitMemoryTree._lstat�sQ���'�'�,�,�T�2���>�>�
�
�
�q�!�Q��1�h�.>�.>��1�a�H�
���r$c�n�[R"U5nURU5n[R"UR
5(ag[R"UR
5(a9[R"[URRU555nOm[R"UR
5(a0[R"URRU55nO[SUR
35e[X#R UR
S9$)Nz
unknown type )rW)r	�quote_from_bytesrrrLrMrn�S_ISLNKr�from_stringrr>�readlinkrP�	get_bytes�AssertionErrorr�id)r r0rq�blobs    r"�_live_entry�GitMemoryTree._live_entry�s����(�(��.���;�;�t�$���<�<��(�(�)�)��
�\�\�(�*�*�
+�
+��#�#��� 4� 4� =� =�d� C�D��D��\�\�(�*�*�
+�
+��#�#�D�$8�$8�$B�$B�4�$H�I�D� �=��1A�1A�0B�!C�D�D�$�X�w�w�X�=M�=M�N�Nr$c�F�URU5URU54$r+)�get_filerrr/s  r"�get_file_with_stat� GitMemoryTree.get_file_with_stat�s���
�
�d�#�T�[�[��%6�7�7r$c�8�URRU5$)zSee Tree.get_file.)r>�getr/s  r"r��GitMemoryTree.get_file�s���#�#�'�'��-�-r$Nc�d�URRU5n[R"U5$)zSee Tree.get_file_sha1().)r>r�r�sha_file)r r0�
stat_value�streams    r"�
get_file_sha1�GitMemoryTree.get_file_sha1�s)���%�%�)�)�$�/������'�'r$c��UR5 [UR5sSSS5 $!,(df   g=f)zjSee Tree.get_parent_ids.

This implementation returns the current cached value from
    self._parent_ids.
N)r]�listrFr's r"�get_parent_ids�GitMemoryTree.get_parent_ids�s(���^�^�
���(�(�)��
�
�s�0�
>c�*�UR5 URRc[RsSSS5 $URR
R
URR5sSSS5 $!,(df   g=f)zSee MutableTree.last_revision.N)r]rr!�
_mod_revision�
NULL_REVISIONr�lookup_foreign_revision_idr's r"rG�GitMemoryTree.last_revision�s]��
�^�^�
��{�{���'�$�2�2��
��;�;�)�)�D�D�T�[�[�EU�EU�V��
�
�s�'B�8B�
Bc�h�URRRUR55$)zSee Tree.basis_tree().)rr�
revision_treerGr's r"�
basis_tree�GitMemoryTree.basis_tree�s&���{�{�%�%�3�3�D�4F�4F�4H�I�Ir$c�6�URR5$r+)r�get_config_stackr's r"r��GitMemoryTree.get_config_stack�s���{�{�+�+�-�-r$c�8�URRU5$r+)r>�hasr/s  r"�has_filename�GitMemoryTree.has_filename�s���#�#�'�'��-�-r$c��URRc/UlOUR5/UlURR	U5 gr+)rr!rFrG�extend)r �rhs_parent_idss  r"�_set_merges_from_parent_ids�)GitMemoryTree._set_merges_from_parent_ids�sB���;�;���#�!�D�� $� 2� 2� 4�5�D��������/r$c���[U5S:Xa/UlSURlgXlURRRUS5SURlgr)�lenrFrr!r�lookup_bzr_revision_id)r �
parent_ids�allow_leftmost_as_ghosts   r"�set_parent_ids�GitMemoryTree.set_parent_ids�sX���z�?�a��!�D��#�D�K�K��)��#�{�{�5�5�L�L��1�
� �� �D�K�K�r$c�^�URUS5 URRU5 g)zSee MutableTree.mkdir().�	directoryN)�addr>rN)r r0�file_ids   r"rN�GitMemoryTree.mkdir�s$������{�#����"�"�4�(r$c�:�URRX5 gr+)r>�rename)r �from_rel�to_rels   r"�_rename_one�GitMemoryTree._rename_one�s�����#�#�H�5r$c�x�URRU5n[R"UR5$r+)r>rLr�file_kind_from_stat_modern)r �pr�s   r"r6�GitMemoryTree.kind�s/���)�)�.�.�q�1�
��/�/�
�0B�0B�C�Cr$c��UR5 URRU5sSSS5 $!,(df   g=fr+)r]r>rxr/s  r"�get_symlink_target� GitMemoryTree.get_symlink_target�s,��
�^�^�
��'�'�0�0��6��
�
�s	�6�
A)r>rrrFrrrrr+)F)"�__name__�
__module__�__qualname__�__firstlineno__�__doc__rr(�propertyr,r1r;rArr]r4rgr_rrr}r�r�r�r�rGr�r�r�r�r�rNr�r6r��__static_attributes__r&r$r"rr$s����%���&��&��.�4�J�6� 
3�
��"�
O�8�.�(�
*�W�J�.�.�0��)�
6�D�7r$r)r�rlrJrL�
dulwich.indexr�dulwich.objectsrr�breezyrrrr	r
r�r�	_mod_tree�breezy.transport.memoryrrrrrrr&r$r"�<module>r�sC��$�	���/�&�2�2�,�$�3�5�%�W7�'����W7r$

Youez - 2016 - github.com/yon3zu
LinuXploit