HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: sport3497 (1034)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/virtualenv/app_data/__pycache__/base.cpython-310.pyc
o

3�h#�@sddZddlmZddlmZmZddlmZddlm	Z	Gdd�de�Z
Gdd	�d	e�Zdd	gZd
S)z&Application data stored by virtualenv.�)�annotations)�ABC�abstractmethod)�contextmanager)�	IS_ZIPAPPc@s�eZdZdZedd��Zedd��Zedd��Zedd	��Ze	d
d��Z
edd
��Ze	dd��Ze	dd��Z
edd��Zeddd��Zeedd���Zeedd���ZdS)�AppDataz:Abstract storage interface for the virtualenv application.cC�dS)zCalled before virtualenv exits.N���selfr	r	�C/usr/local/lib/python3.10/dist-packages/virtualenv/app_data/base.py�close�z
AppData.closecCr)z2Called when the user passes in the reset app data.Nr	r
r	r	r�resetrz
AppData.resetcC�t��N��NotImplementedError�r�pathr	r	r�py_info�zAppData.py_infocCrrrr
r	r	r�
py_info_clearrzAppData.py_info_clearcCrrrr
r	r	r�
can_updaterzAppData.can_updatecCrrr)r�distribution�for_py_versionr	r	r�embed_update_log"rzAppData.embed_update_logcCrrrr
r	r	r�house&rz
AppData.housecCrrrr
r	r	r�	transient*rzAppData.transientcCrrr)rr�namer	r	r�wheel_image.rzAppData.wheel_imageNccsH�tr|�||��}|VWd�dS1swYdS|VdS)zISome paths might be within the zipapp, unzip these to a path on the disk.N)r�extract)rr�	to_folder�resultr	r	r�ensure_extracted2s�"�
zAppData.ensure_extractedcCrrr)rrr"r	r	rr!;�zAppData.extractcCrrrrr	r	r�locked@r%zAppData.lockedr)�__name__�
__module__�__qualname__�__doc__rr
rrr�propertyrrrrr rr$r!r&r	r	r	rrs8








rc@sLeZdZedd��Zedd��Zedd��Zedd��Zeed	d
���Z	dS)�ContentStorecCrrrr
r	r	r�existsGrzContentStore.existscCrrrr
r	r	r�readKrzContentStore.readcCrrr)r�contentr	r	r�writeOrzContentStore.writecCrrrr
r	r	r�removeSrzContentStore.removecCsdSrr	r
r	r	rr&Wr%zContentStore.lockedN)
r'r(r)rr-r.r0r1rr&r	r	r	rr,Fs



r,N)
r*�
__future__r�abcrr�
contextlibr�virtualenv.inforrr,�__all__r	r	r	r�<module>s;�