HEX
Server: LiteSpeed
System: Linux vearitale.com 5.14.0-570.32.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 6 11:30:41 EDT 2025 x86_64
User: yunab9059 (2007)
PHP: 8.3.21
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.9/site-packages/virtualenv/app_data/__pycache__/base.cpython-39.pyc
a

��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.cCsdS)zCalled before virtualenv exits.N���selfrr�B/usr/local/lib/python3.9/site-packages/virtualenv/app_data/base.py�closesz
AppData.closecCsdS)z2Called when the user passes in the reset app data.Nrr	rrr�resetsz
AppData.resetcCst�dS�N��NotImplementedError�r
�pathrrr�py_infoszAppData.py_infocCst�dSrrr	rrr�
py_info_clearszAppData.py_info_clearcCst�dSrrr	rrr�
can_updateszAppData.can_updatecCst�dSrr)r
�distribution�for_py_versionrrr�embed_update_log"szAppData.embed_update_logcCst�dSrrr	rrr�house&sz
AppData.housecCst�dSrrr	rrr�	transient*szAppData.transientcCst�dSrr)r
r�namerrr�wheel_image.szAppData.wheel_imageNccsBtr8|�||��}|VWd�q>1s,0Yn|VdS)zISome paths might be within the zipapp, unzip these to a path on the disk.N)r�extract)r
r�	to_folder�resultrrr�ensure_extracted2s&zAppData.ensure_extractedcCst�dSrr)r
rrrrrr;szAppData.extractcCst�dSrrrrrr�locked@szAppData.locked)N)�__name__�
__module__�__qualname__�__doc__rrr
rr�propertyrrrrrrr rr!rrrrrs6








rc@sLeZdZedd��Zedd��Zedd��Zedd��Zeed	d
���Z	dS)�ContentStorecCst�dSrrr	rrr�existsGszContentStore.existscCst�dSrrr	rrr�readKszContentStore.readcCst�dSrr)r
�contentrrr�writeOszContentStore.writecCst�dSrrr	rrr�removeSszContentStore.removecCsdSrrr	rrrr!WszContentStore.lockedN)
r"r#r$rr(r)r+r,rr!rrrrr'Fs



r'N)
r%�
__future__r�abcrr�
contextlibrZvirtualenv.inforrr'�__all__rrrr�<module>s;�