§
    ñžîdC  ã                  ó‚   — d Z ddlmZ ddlmZmZ ddlmZ ddlm	Z	  G d„ de¬¦  «        Z
 G d	„ d
e¬¦  «        Zd
dgZdS )z&Application data stored by virtualenv.é    )Úannotations)ÚABCMetaÚabstractmethod)Úcontextmanager)Ú	IS_ZIPAPPc                  ó<  — e Zd ZdZed„ ¦   «         Zed„ ¦   «         Zed„ ¦   «         Zed„ ¦   «         Ze	d„ ¦   «         Z
ed„ ¦   «         Ze	d„ ¦   «         Ze	d	„ ¦   «         Zed
„ ¦   «         Zedd„¦   «         Zeed„ ¦   «         ¦   «         Zeed„ ¦   «         ¦   «         ZdS )ÚAppDataz:Abstract storage interface for the virtualenv application.c                ó   — dS )zCalled before virtualenv exits.N© ©Úselfs    ú\/home/feoh/.local/pipx/venvs/poetry/lib/python3.11/site-packages/virtualenv/app_data/base.pyÚclosezAppData.close   ó   € € € ó    c                ó   — dS )z2Called when the user passes in the reset app data.Nr   r   s    r   ÚresetzAppData.reset   r   r   c                ó   — t           ‚©N©ÚNotImplementedError©r   Úpaths     r   Úpy_infozAppData.py_info   ó   € å!Ð!r   c                ó   — t           ‚r   r   r   s    r   Úpy_info_clearzAppData.py_info_clear   r   r   c                ó   — t           ‚r   r   r   s    r   Ú
can_updatezAppData.can_update   r   r   c                ó   — t           ‚r   r   )r   ÚdistributionÚfor_py_versions      r   Úembed_update_logzAppData.embed_update_log"   r   r   c                ó   — t           ‚r   r   r   s    r   ÚhousezAppData.house&   r   r   c                ó   — t           ‚r   r   r   s    r   Ú	transientzAppData.transient*   r   r   c                ó   — t           ‚r   r   )r   r"   Únames      r   Úwheel_imagezAppData.wheel_image.   r   r   Nc              #  óŠ   K  — t           r5|                      ||¦  «        5 }|V — ddd¦  «         dS # 1 swxY w Y   dS |V — dS )zISome paths might be within the zipapp, unzip these to a path on the disk.N)r   Úextract)r   r   Ú	to_folderÚresults       r   Úensure_extractedzAppData.ensure_extracted2   s   è è € õ ð 	Ø—’˜d IÑ.Ô.ð °&Øðð ð ñ ô ð ð ð ð ð ð ð øøøð ð ð ð ð ð ð ˆJˆJˆJˆJˆJs    2²6¹6c                ó   — t           ‚r   r   )r   r   r-   s      r   r,   zAppData.extract;   ó
   € õ "Ð!r   c                ó   — t           ‚r   r   r   s     r   ÚlockedzAppData.locked@   r1   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   Úpropertyr   r#   r%   r'   r*   r   r/   r,   r3   r   r   r   r	   r	      sx  € € € € € ØDÐDàð.ð .ñ „^ð.ð ðAð Añ „^ðAð ð"ð "ñ „^ð"ð ð"ð "ñ „^ð"ð ð"ð "ñ „Xð"ð ð"ð "ñ „^ð"ð ð"ð "ñ „Xð"ð ð"ð "ñ „Xð"ð ð"ð "ñ „^ð"ð ðð ð ñ „^ðð Øð"ð "ñ „^ñ „^ð"ð Øð"ð "ñ „^ñ „^ð"ð "ð "r   r	   )Ú	metaclassc                  óŒ   — e Zd Zed„ ¦   «         Zed„ ¦   «         Zed„ ¦   «         Zed„ ¦   «         Zeed„ ¦   «         ¦   «         Z	dS )ÚContentStorec                ó   — t           ‚r   r   r   s    r   ÚexistszContentStore.existsG   r   r   c                ó   — t           ‚r   r   r   s    r   ÚreadzContentStore.readK   r   r   c                ó   — t           ‚r   r   )r   Úcontents     r   ÚwritezContentStore.writeO   r   r   c                ó   — t           ‚r   r   r   s    r   ÚremovezContentStore.removeS   r   r   c                ó   — d S r   r   r   s    r   r3   zContentStore.lockedW   s	   € ð 	ˆr   N)
r4   r5   r6   r   r=   r?   rB   rD   r   r3   r   r   r   r;   r;   F   s£   € € € € € Øð"ð "ñ „^ð"ð ð"ð "ñ „^ð"ð ð"ð "ñ „^ð"ð ð"ð "ñ „^ð"ð Øðð ñ „^ñ „^ðð ð r   r;   N)r7   Ú
__future__r   Úabcr   r   Ú
contextlibr   Úvirtualenv.infor   r	   r;   Ú__all__r   r   r   ú<module>rK      sË   ðØ ,Ð ,à "Ð "Ð "Ð "Ð "Ð "à 'Ð 'Ð 'Ð 'Ð 'Ð 'Ð 'Ð 'Ø %Ð %Ð %Ð %Ð %Ð %à %Ð %Ð %Ð %Ð %Ð %ð8"ð 8"ð 8"ð 8"ð 8"˜ð 8"ñ 8"ô 8"ð 8"ðvð ð ð ð ˜Wð ñ ô ð ð0 Øð€€€r   