📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-06-28 16:32:15
📂
/ (Root)
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
virtualenv
/
create
/
via_global_ref
/
builtin
/
__pycache__
📍 /opt/hc_python/lib/python3.12/site-packages/virtualenv/create/via_global_ref/builtin/__pycache__
🔄 Refresh
✏️
Editing: ref.cpython-312.pyc
Read Only
� S��g9 � � � d Z ddlmZ ddlZddlmZmZ ddlmZ ddl m Z mZmZ ddl mZmZ ddlmZmZmZ G d � d � Z G d� d� Z G d � de� Z G d� dee� Z G d� de� Z G d� dee� Zg d�Zy)aG Virtual environments in the traditional sense are built as reference to the host python. This file allows declarative references to elements on the file system, allowing our system to automatically detect what modes it can support given the constraints: e.g. can the file system symlink, can the files be read, executed, etc. � )�annotationsN)�ABC�abstractmethod)�OrderedDict)�S_IXGRP�S_IXOTH�S_IXUSR)�fs_is_case_sensitive�fs_supports_symlink)�copy�make_exe�symlinkc � � e Zd ZdZdZdZy)�RefMust�NAr r N)�__name__� __module__�__qualname__r �COPY�SYMLINK� � �[/opt/hc_python/lib/python3.12/site-packages/virtualenv/create/via_global_ref/builtin/ref.pyr r s � � �B��D��Gr r c � � e Zd ZdZdZdZy)�RefWhen�ANYr r N)r r r r r r r r r r r s � � �C��D��Gr r c � � e Zd ZdZ e� Z e� Zej e j fd d�Zdd�Z ed� � Zed� � Zed� � Zed� � Zd� Zy )�PathRefzABase class that checks if a file reference can be symlink/copied.c � � || _ || _ || _ |j � | _ | j rd nd| _ | j rd nd| _ | j rd | _ y d| _ y # t $ r d| _ Y �Xw xY w�NF)�must�when�src�exists�OSError� _can_read� _can_copy�_can_symlink)�selfr# r! r"