https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/hgext/largefiles/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/hgext/largefiles/__pycache__/wirestore.cpython-310.pyc
o

�]LbK�@s6dZddlmZddlmZmZGdd�dej�ZdS)z6largefile store working over Mercurial's wire protocol�)�absolute_import�)�lfutil�remotestorecs4eZdZ�fdd�Zdd�Zdd�Zdd�Z�ZS)	�	wirestorecsV|�d�}|st�g��|�d�}d|vrt�|��||_tt|��|||���dS)Ns
largefiles�,sserve)	�capabler�storeprotonotcapable�split�remote�superr�__init__�url)�self�ui�repor�cap�
storetypes��	__class__��</usr/lib/python3/dist-packages/hgext/largefiles/wirestore.pyr
s



zwirestore.__init__cCs|j�||�S�N)r�putlfile)r�hash�fdrrr�_putszwirestore._putcCs|j�|�Sr)r�getlfile)rrrrr�_getszwirestore._getc
Csd|j���#}g}|D]}|�||�dd|i�f�q
dd�|D�Wd�S1s+wYdS)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	statlfilesshacSsi|]	\}}||���qSr)�result)�.0r�frrr�
<dictcomp>4sz#wirestore._stat.<locals>.<dictcomp>N)r�commandexecutor�append�callcommand)r�hashes�e�fsrrrr�_stat s����$�zwirestore._stat)�__name__�
__module__�__qualname__r
rrr)�
__classcell__rrrrrs

rN)�__doc__�
__future__r�rrrrrrr�<module>s

https://t.me/RX1948 - 2025