o
    Uh                     @  sT   d dl mZ d dlmZ ddlmZmZ G dd deZG dd deZddgZ	d	S )
    )annotations)contextmanager   )AppDataContentStorec                   @  sz   e Zd ZdZdZdZdddZedZd	d
 Z	dd Z
dd Zdd Zdd Zedd Zedd Zdd Zdd ZdS )AppDataDisabledzPNo application cache available (most likely as we don't have write permissions).TFreturnNonec                 C  s   d S N selfr   r   j/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/virtualenv/app_data/na.py__init__      zAppDataDisabled.__init__zDno app data folder available, probably no write access to the folderc                 C     dS zDo nothing.Nr   r   r   r   r   close       zAppDataDisabled.closec                 C  r   r   r   r   r   r   r   reset   r   zAppDataDisabled.resetc                 C     t  S r
   ContentStoreNAr   pathr   r   r   py_info      zAppDataDisabled.py_infoc                 C  r   r
   r   )r   distributionfor_py_versionr   r   r   embed_update_log   r   z AppDataDisabled.embed_update_logc                 C     | j r
   error)r   r   	to_folderr   r   r   extract   r   zAppDataDisabled.extractc                 c  s    dV  dS r   r   r   r   r   r   locked"   s   
zAppDataDisabled.lockedc                 C  r    r
   r!   r   r   r   r   house'   s   zAppDataDisabled.housec                 C  r    r
   r!   )r   r   namer   r   r   wheel_image+   r   zAppDataDisabled.wheel_imagec                 C  r   )zNothing to clear.Nr   r   r   r   r   py_info_clear.   r   zAppDataDisabled.py_info_clearN)r   r	   )__name__
__module____qualname____doc__	transient
can_updater   RuntimeErrorr"   r   r   r   r   r$   r   r%   propertyr&   r(   r)   r   r   r   r   r      s"    


r   c                   @  s8   e Zd Zdd Zdd Zdd Zdd Zed	d
 ZdS )r   c                 C  r   )NFr   r   r   r   r   exists3   r   zContentStoreNA.existsc                 C  r   )zNothing to read.Nr   r   r   r   r   read6   s   zContentStoreNA.readc                 C  r   )zNothing to write.Nr   )r   contentr   r   r   write:   r   zContentStoreNA.writec                 C  r   )zNothing to remove.Nr   r   r   r   r   remove=   r   zContentStoreNA.removec                 c  s    d V  d S r
   r   r   r   r   r   r%   @   s   
zContentStoreNA.lockedN)	r*   r+   r,   r2   r3   r5   r6   r   r%   r   r   r   r   r   2   s    r   N)

__future__r   
contextlibr   baser   r   r   r   __all__r   r   r   r   <module>   s    *