관리-도구
편집 파일: read_only.cpython-311.pyc
� �܋f � �h � d dl Zd dlmZ ddlmZmZ G d� de� � Z G d� de� � ZdgZ dS ) � N)�NoOpFileLock� )�AppDataDiskFolder�PyInfoStoreDiskc �H � � e Zd ZdZdeddf� fd�Zd d�Zd d�Zd� Zd � Z � xZ S )�ReadOnlyAppDataF�folder�returnNc �� �� t j � |� � st d|� d�� � �t � � � |� � t |� � | _ d S )Nzread-only app data directory z does not exist)�os�path�isdir�RuntimeError�super�__init__r �lock)�selfr � __class__s ��n/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/virtualenv/app_data/read_only.pyr zReadOnlyAppData.__init__ s_ �� ��w�}�}�V�$�$� X��V�v�V�V�V�W�W�W� ������ � � � ��(�(�� � � � c � � t d� � �)Nz)read-only app data does not support reset�r �r s r �resetzReadOnlyAppData.reset s � ��F�G�G�Gr c � � t ��N��NotImplementedErrorr s r � py_info_clearzReadOnlyAppData.py_info_clear � � �!�!r c �, � t | j |� � S r )�_PyInfoStoreDiskReadOnly� py_info_at)r r s r �py_infozReadOnlyAppData.py_info s � �'����>�>�>r c � � t �r r )r �distribution�for_py_versions r �embed_update_logz ReadOnlyAppData.embed_update_log r r )r N)�__name__� __module__�__qualname__� can_update�strr r r r$ r( � __classcell__)r s @r r r s� �� � � � � ��J�)�s� )�t� )� )� )� )� )� )�H� H� H� H�"� "� "� "�?� ?� ?�"� "� "� "� "� "� "r r c � � e Zd Zd� ZdS )r"