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/lib/python3/dist-packages/breezy/bzr/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

p��g����SrSSKJrJr "SS\R5r"SS\5r"SS\R5r"S	S
5r"SS\R5r
\
"5r\RS
SS5 \RSSS5 \RSSS5 \RSSS5 \RSSS5 \RSSS5 g)z!Inventory/revision serialization.�)�errors�registryc��\rSrSrSrSrg)�BadInventoryFormat�z-Root class for inventory serialization errors�N)�__name__�
__module__�__qualname__�__firstlineno__�_fmt�__static_attributes__r��7/usr/lib/python3/dist-packages/breezy/bzr/serializer.pyrrs��:�Drrc��\rSrSrSrSrSrg)�UnexpectedInventoryFormat�z6The inventory was not in the expected format:
 %(msg)sc�*�[RXS9 g)N)�msg)r�__init__)�selfrs  rr�"UnexpectedInventoryFormat.__init__s���#�#�D�#�2rrN�r	r
rrr
rrrrrrrs��D�D�3rrc��\rSrSrSrSrSrg)�UnsupportedInventoryKind�!zUnsupported entry kind %(kind)sc��Xlg�N��kind)rr s  rr�!UnsupportedInventoryKind.__init__$s���	rrNrrrrrr!s��0�D�rrc�\�\rSrSrSrSrSrSrSrSSjr	SS	jr
S
rSrSr
S
rSrg)�
Serializer�(z5Inventory and revision serialization/deserialization.Fc�,�[UR5e)z�Write inventory to a file.

Note: this is a *whole inventory* operation, and should only be used
sparingly, as it does not scale well with large trees.
)�NotImplementedError�write_inventory)r�inv�fs   rr'�Serializer.write_inventory-s��"�$�"6�"6�7�7rc�,�[UR5e)aYProduce a simple bytestring chunk representation of an inventory.

Note: this is a *whole inventory* operation, and should only be used
sparingly, as it does not scale well with large trees.

The requirement for the contents of the string is that it can be passed
to read_inventory_from_lines and the result is an identical inventory
in memory.
)r&�write_inventory_to_chunks�rr(s  rr,�$Serializer.write_inventory_to_chunks5s��"�$�"@�"@�A�Arc�,�[UR5e)aNProduce a simple lines representation of an inventory.

Note: this is a *whole inventory* operation, and should only be used
sparingly, as it does not scale well with large trees.

The requirement for the contents of the string is that it can be passed
to read_inventory_from_lines and the result is an identical inventory
in memory.
)r&�write_inventory_to_linesr-s  rr0�#Serializer.write_inventory_to_linesAs��"�$�"?�"?�@�@rNc�,�[UR5e)a�Read bytestring chunks into an inventory object.

:param lines: The serialized inventory to read.
:param revision_id: If not-None, the expected revision id of the
    inventory. Some serialisers use this to set the results' root
    revision. This should be supplied for deserialising all
    from-repository inventories so that xml5 inventories that were
    serialised without a revision identifier can be given the right
    revision id (but not for working tree inventories where users can
    edit the data without triggering checksum errors or anything).
:param entry_cache: An optional cache of InventoryEntry objects. If
    supplied we will look up entries via (file_id, revision_id) which
    should map to a valid InventoryEntry (File/Directory/etc) object.
:param return_from_cache: Return entries directly from the cache,
    rather than copying them first. This is only safe if the caller
    promises not to mutate the returned inventory entries, but it can
    make some operations significantly faster.
)r&�read_inventory_from_lines)r�lines�revision_id�entry_cache�return_from_caches     rr3�$Serializer.read_inventory_from_linesMs��*"�$�"@�"@�A�Arc�,�[UR5e)zSee read_inventory_from_lines.)r&�read_inventory)rr)r5s   rr:�Serializer.read_inventoryds��!�$�"5�"5�6�6rc�,�[UR5er)r&�write_revision_to_string�r�revs  rr=�#Serializer.write_revision_to_stringhs��!�$�"?�"?�@�@rc�,�[UR5er)r&�write_revision_to_linesr>s  rrB�"Serializer.write_revision_to_linesks��!�$�">�">�?�?rc�,�[UR5er)r&�
read_revision)rr)s  rrE�Serializer.read_revisionns��!�$�"4�"4�5�5rc�,�[UR5er)r&�read_revision_from_string)r�
xml_strings  rrH�$Serializer.read_revision_from_stringqs��!�$�"@�"@�A�Arr)NNFr)r	r
rr�__doc__�squashes_xml_invalid_charactersr'r,r0r3r:r=rBrErHrrrrr#r#(sE��?�&+�#�8�
B�
A�LQ�B�.7�A�@�6�Brr#c��\rSrSrSrSrg)�SerializerRegistry�uz Registry for serializer objects.rN)r	r
rrrKrrrrrNrNus��*rrN�5zbreezy.bzr.xml5�
serializer_v5�6zbreezy.bzr.xml6�
serializer_v6�7zbreezy.bzr.xml7�
serializer_v7�8zbreezy.bzr.xml8�
serializer_v8�9zbreezy.bzr.chk_serializer�chk_serializer_255_bigpage�10�chk_bencode_serializerN)
rK�rr�BzrErrorrrrr#�RegistryrN�format_registry�
register_lazyrrr�<module>ras���"(��;����;�3� 2�3��v����JB�JB�Z+��*�*�+�%�&�����c�#4�o�F����c�#4�o�F����c�#4�o�F����c�#4�o�F�����	$�&B������
%�'?�r

Youez - 2016 - github.com/yon3zu
LinuXploit