ó
    6°h9  ã                  óN   • S r SSKJr  SSKJrJr   " S S\R
                  5      rg)z6largefile store working over Mercurial's wire protocolé    )Úannotationsé   )ÚlfutilÚremotestorec                  ó:   ^ • \ rS rSrU 4S jrS rS rS rSrU =r	$ )Ú	wirestoreé   c                ó  >• UR                  S5      nU(       d  [        R                  " / 5      eUR                  S5      nSU;  a  [        R                  " U5      eX0l        [
        TU ]  XUR                  5       5        g )Ns
   largefilesó   ,s   serve)Úcapabler   ÚstoreprotonotcapableÚsplitÚremoteÚsuperÚ__init__Úurl)ÚselfÚuiÚrepor   ÚcapÚ
storetypesÚ	__class__s         €Ú</usr/lib/python3/dist-packages/hgext/largefiles/wirestore.pyr   Úwirestore.__init__   se   ø€ Ø�n‰n˜]Ó+ˆÞÜ×-Ò-¨bÓ1Ð1Ø—Y‘Y˜t“_ˆ
Ø˜:Ó%Ü×-Ò-¨jÓ9Ð9ØŒÜ‰Ñ˜ 6§:¡:£<Õ0ó    c                ó8   • U R                   R                  X5      $ ©N)r   Úputlfile)r   ÚhashÚfds      r   Ú_putÚwirestore._put   s   € Ø�{‰{×#Ñ# DÓ-Ð-r   c                ó8   • U R                   R                  U5      $ r   )r   Úgetlfile)r   r   s     r   Ú_getÚwirestore._get   s   € Ø�{‰{×#Ñ# DÓ)Ð)r   c           
     ó"  • U R                   R                  5        n/ nU H(  nUR                  UUR                  SSU05      45        M*     U VVs0 s H  u  pEXER	                  5       _M     snnsSSS5        $ s  snnf ! , (       d  f       g= f)z�For each hash, return 0 if it is available, other values if not.
It is usually 2 if the largefile is missing, but might be 1 the server
has a corrupted copy.s	   statlfiles   shaN)r   ÚcommandexecutorÚappendÚcallcommandÚresult)r   ÚhashesÚeÚfsr   Úfs         r   Ú_statÚwirestore._stat!   s‡   € ð
 �[‰[×(Ñ(Ô*¨aØˆBÛ�Ø—	‘	àØŸ™Ø(à &¨ðóðö
ñ ñ 57Ô7²B©¨�DŸ(™(›*Ò$±BÒ7÷ +Ñ*ùó 8÷ +Õ*ús   ›6B ÁA:Á-B Á:B Â 
B)r   )
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r!   r%   r0   Ú__static_attributes__Ú__classcell__)r   s   @r   r   r      s   ø† õ1ò.ò*÷8ð 8r   r   N)Ú__doc__Ú
__future__r   Ú r   r   r   © r   r   Ú<module>r<      s$   ðñ =å "÷ô%8�×'Ñ'õ %8r   