관리-도구
편집 파일: via_disk_folder.cpython-311.pyc
� �܋fE � � � d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl m Z ddlmZ ddl mZ dd lmZ d dlmZmZ G d� d e� � Z G d� dee�� � Z G d� de� � Z G d� de� � Zg d�ZdS )u� A rough layout of the current storage goes as: virtualenv-app-data ├── py - <version> <cache information about python interpreters> │ └── *.json/lock ├── wheel <cache wheels used for seeding> │ ├── house │ │ └── *.whl <wheels downloaded go here> │ └── <python major.minor> -> 3.9 │ ├── img-<version> │ │ └── image │ │ └── <install class> -> CopyPipInstall / SymlinkPipInstall │ │ └── <wheel name> -> pip-20.1.1-py2.py3-none-any │ └── embed │ └── 3 -> json format versioning │ └── *.json -> for every distribution contains data about newer embed versions and releases └─── unzip <in zip app we cannot refer to some internal files, so first extract them> └── <virtualenv version> ├── py_info.py ├── debug.py └── _virtualenv.py � N)�ABCMeta)�contextmanager)�sha256)�ReentrantFileLock)�safe_delete)�extract)�__version__� )�AppData�ContentStorec � � e Zd ZdZdZdZd� Zd� Zd� Zd� Z d� Z ed � � � Zed � � � Z ed� � � Zd� Zd � Zd� Zed� � � Zd� ZdS )�AppDataDiskFolderzH Store the application data on the disk within a folder layout. FTc �. � t |� � | _ d S �N)r �lock)�self�folders �t/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/virtualenv/app_data/via_disk_folder.py�__init__zAppDataDiskFolder.__init__/ s � �%�f�-�-�� � � � c �J � t | � � j � d| j j � d�S )N�(�))�type�__name__r �path�r s r �__repr__zAppDataDiskFolder.__repr__2 s&