-=[ Mr. Bumblebee ]=-
_Indonesia_
ó
î:ïNc @@ sÔ d Z d d l m Z d d l m Z d e f d „ ƒ YZ d e j f d „ ƒ YZ e ƒ Z e j
d d d
ƒ e j
d d d
ƒ e j
d d d ƒ e j
d d d ƒ e j
d d d ƒ e j
d d d ƒ d S( s! Inventory/revision serialization.i ( t absolute_import( t registryt
Serializerc B@ sh e Z d Z e Z d „ Z d „ Z d d e d „ Z d d „ Z d „ Z
d „ Z d „ Z d „ Z
RS(
s5 Inventory and revision serialization/deserialization.c C@ s t | j ƒ ‚ d S( s° 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.
N( t NotImplementedErrort write_inventory( t selft invt f( ( s5 /usr/lib/python2.7/dist-packages/bzrlib/serializer.pyR s c C@ s t | j ƒ ‚ d S( sì Produce a simple string 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_string and the result is an identical inventory
in memory.
(All serializers as of 2009-07-29 produce XML, but this is not mandated
by the interface.)
N( R t write_inventory_to_string( R R ( ( s5 /usr/lib/python2.7/dist-packages/bzrlib/serializer.pyR % s
c C@ s t | j ƒ ‚ d S( sr Read string into an inventory object.
:param string: 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.
N( R t read_inventory_from_string( R t stringt revision_idt entry_cachet return_from_cache( ( s5 /usr/lib/python2.7/dist-packages/bzrlib/serializer.pyR 4 s c C@ s t | j ƒ ‚ d S( s See read_inventory_from_string.N( R t read_inventory( R R R ( ( s5 /usr/lib/python2.7/dist-packages/bzrlib/serializer.pyR J s c C@ s t | j ƒ ‚ d S( N( R t write_revision( R t revR ( ( s5 /usr/lib/python2.7/dist-packages/bzrlib/serializer.pyR N s c C@ s t | j ƒ ‚ d S( N( R t write_revision_to_string( R R ( ( s5 /usr/lib/python2.7/dist-packages/bzrlib/serializer.pyR Q s c C@ s t | j ƒ ‚ d S( N( R t
read_revision( R R ( ( s5 /usr/lib/python2.7/dist-packages/bzrlib/serializer.pyR T s c C@ s t | j ƒ ‚ d S( N( R t read_revision_from_string( R t
xml_string( ( s5 /usr/lib/python2.7/dist-packages/bzrlib/serializer.pyR W s N( t __name__t
__module__t __doc__t Falset squashes_xml_invalid_charactersR R t NoneR R R R R R ( ( ( s5 /usr/lib/python2.7/dist-packages/bzrlib/serializer.pyR s t SerializerRegistryc B@ s e Z d Z RS( s Registry for serializer objects( R R R ( ( ( s5 /usr/lib/python2.7/dist-packages/bzrlib/serializer.pyR [ s t 5s bzrlib.xml5t
serializer_v5t 6s bzrlib.xml6t
serializer_v6t 7s bzrlib.xml7t
serializer_v7t 8s bzrlib.xml8t
serializer_v8t 9s bzrlib.chk_serializert chk_serializer_255_bigpaget 10t chk_bencode_serializerN( R t
__future__R t bzrlibR t objectR t RegistryR t format_registryt
register_lazy( ( ( s5 /usr/lib/python2.7/dist-packages/bzrlib/serializer.pyt <module> s C
Copyright © 2017 || Recoded By Mr.Bumblebee