HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/virtualenv/app_data/__pycache__/base.cpython-310.pyc
o

$�"bQ�@s|dZddlmZmZddlmZmZddlmZddl	Z	ddl
mZe	�e�Gdd�de
��Ze	�e�Gd	d
�d
e
��ZdS)z(
Application data stored by virtualenv.
�)�absolute_import�unicode_literals)�ABCMeta�abstractmethod)�contextmanagerN)�	IS_ZIPAPPc@s�eZdZdZedd��Zedd��Zedd��Zedd	��Ze	d
d��Z
edd
��Ze	dd��Ze	dd��Z
edd��Zeddd��Zeedd���Zeedd���ZdS)�AppDataz9Abstract storage interface for the virtualenv applicationcC�dS)zcalled before virtualenv exitsN���selfr
r
�:/usr/lib/python3/dist-packages/virtualenv/app_data/base.py�close�z
AppData.closecCr	)z1called when the user passes in the reset app dataNr
rr
r
r
�resetrz
AppData.resetcC�t��N��NotImplementedError�r�pathr
r
r
�py_info�zAppData.py_infocCrrrrr
r
r
�
py_info_clearrzAppData.py_info_clearcCrrrrr
r
r
�
can_update"rzAppData.can_updatecCrrr)r�distribution�for_py_versionr
r
r
�embed_update_log&rzAppData.embed_update_logcCrrrrr
r
r
�house*rz
AppData.housecCrrrrr
r
r
�	transient.rzAppData.transientcCrrr)rr�namer
r
r
�wheel_image2rzAppData.wheel_imageNccsH�tr|�||��}|VWd�dS1swYdS|VdS)zHSome paths might be within the zipapp, unzip these to a path on the diskN)r�extract)rr�	to_folder�resultr
r
r
�ensure_extracted6s�"�
zAppData.ensure_extractedcCrrr)rrr#r
r
r
r"?�zAppData.extractcCrrrrr
r
r
�lockedDr&zAppData.lockedr)�__name__�
__module__�__qualname__�__doc__rrrrr�propertyrrrrr!rr%r"r'r
r
r
r
rs8








rc@sLeZdZedd��Zedd��Zedd��Zedd��Zeed	d
���Z	dS)�ContentStorecCrrrrr
r
r
�existsLrzContentStore.existscCrrrrr
r
r
�readPrzContentStore.readcCrrr)r�contentr
r
r
�writeTrzContentStore.writecCrrrrr
r
r
�removeXrzContentStore.removecCsdSrr
rr
r
r
r'\r&zContentStore.lockedN)
r(r)r*rr.r/r1r2rr'r
r
r
r
r-Js



r-)r+�
__future__rr�abcrr�
contextlibr�six�virtualenv.infor�
add_metaclass�objectrr-r
r
r
r
�<module>s;