
    .Ph                    n    d dl mZ d dlmZ ddlmZmZ  G d de          Z G d de          ZddgZ	d	S )
    )annotations)contextmanager   )AppDataContentStorec                      e Zd ZdZdZdZddZ ed          Zd Z	d	 Z
d
 Zd Zd Zed             Zed             Zd Zd ZdS )AppDataDisabledzPNo application cache available (most likely as we don't have write permissions).TFreturnNonec                    d S N selfs    V/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/virtualenv/app_data/na.py__init__zAppDataDisabled.__init__   s        zDno app data folder available, probably no write access to the folderc                    dS zDo nothing.Nr   r   s    r   closezAppDataDisabled.close         r   c                    dS r   r   r   s    r   resetzAppDataDisabled.reset   r   r   c                    t                      S r   ContentStoreNAr   paths     r   py_infozAppDataDisabled.py_info       r   c                    t                      S r   r   )r   distributionfor_py_versions      r   embed_update_logz AppDataDisabled.embed_update_log   r    r   c                    | j         r   error)r   r   	to_folders      r   extractzAppDataDisabled.extract   
    jr   c              #     K   dV  dS r   r   r   s     r   lockedzAppDataDisabled.locked"   s       	r   c                    | j         r   r&   r   s    r   housezAppDataDisabled.house'   s
    jr   c                    | j         r   r&   )r   r#   names      r   wheel_imagezAppDataDisabled.wheel_image+   r*   r   c                    dS )zNothing to clear.Nr   r   s    r   py_info_clearzAppDataDisabled.py_info_clear.   r   r   N)r
   r   )__name__
__module____qualname____doc__	transient
can_updater   RuntimeErrorr'   r   r   r   r$   r)   r   r,   propertyr.   r1   r3   r   r   r   r	   r	      s        ZZIJ    L_``E                   ^   X           r   r	   c                  <    e Zd Zd Zd Zd Zd Zed             ZdS )r   c                    dS )NFr   r   s    r   existszContentStoreNA.exists3   s    ur   c                    dS )zNothing to read.Nr   r   s    r   readzContentStoreNA.read6   s    r   c                    dS )zNothing to write.Nr   )r   contents     r   writezContentStoreNA.write:   r   r   c                    dS )zNothing to remove.Nr   r   s    r   removezContentStoreNA.remove=   r   r   c              #     K   d V  d S r   r   r   s    r   r,   zContentStoreNA.locked@   s      r   N)	r4   r5   r6   r>   r@   rC   rE   r   r,   r   r   r   r   r   2   sk                 ! ! !   ^  r   r   N)

__future__r   
contextlibr   baser   r   r	   r   __all__r   r   r   <module>rK      s    " " " " " " % % % % % % ' ' ' ' ' ' ' ''  '  '  '  ' g '  '  ' T    \   ( r   