⚠️ BACKUP DATA ANDA SECARA TERATUR! File manager ini untuk keperluan teknis.
Zy Filemanager
berang berang bawa gelek berangkat lek !!!
🌙 Dark Mode
🏠 Home Shell
🔄 Refresh
Current Path:
Home Shell
/
opt
/
alt
/
python311
/
lib
/
python3.11
/
site-packages
/
pip
/
_vendor
/
cachecontrol
/
caches
/
__pycache__
⬆️ Parent Directory
📁 File Browser
Name
Size
Permissions
Modified Date
Actions
📄
__init__.cpython-311.pyc
(383 bytes)
383 B
0644
📅
✏️
✍️
⬇️
🗑️
📄
file_cache.cpython-311.pyc
(6,102 bytes)
5.96 KB
0644
📅
✏️
✍️
⬇️
🗑️
📄
redis_cache.cpython-311.pyc
(2,389 bytes)
2.33 KB
0644
📅
✏️
✍️
⬇️
🗑️
📤 Upload Files
Single File
Multiple Files
ZIP Extract
ZIP file will be deleted after extraction
➕ Create New
New Folder
New File
✍️ Editing: redis_cache.cpython-311.pyc
File: /opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-311.pyc
Size: 2.33 KB | Last Modified: 2026-01-08 06:10:31
💾 Backup File
🔢 Toggle Line Numbers
� ��^iX � �F � d dl mZ d dlmZ d dlmZ G d� de� � ZdS )� )�division)�datetime)� BaseCachec �4 � e Zd Zd� Zd� Zdd�Zd� Zd� Zd� ZdS ) � RedisCachec � � || _ d S �N)�conn)�selfr s ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-4.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py�__init__zRedisCache.__init__ s � ��� � � � c �6 � | j � |� � S r )r �get�r �keys r r zRedisCache.get s � ��y�}�}�S�!�!�!r Nc �� � |s| j � ||� � d S |t j � � z }| j � |t |� � � � � |� � d S r )r �setr �utcnow�setex�int� total_seconds)r r �value�expiress r r zRedisCache.set sk � �� F��I�M�M�#�u�%�%�%�%�%���� 1� 1�1�G��I�O�O�C��W�%:�%:�%<�%<�!=�!=�u�E�E�E�E�Er c �: � | j � |� � d S r )r �deleter s r r zRedisCache.delete s � �� ��������r c �r � | j � � � D ]}| j � |� � �dS )zIHelper for clearing all the keys in a database. Use with caution!N)r �keysr r s r �clearzRedisCache.clear sB � � �9�>�>�#�#� "� "�C��I���S�!�!�!�!� "� "r c � � dS )z?Redis uses connection pooling, no need to close the connection.N� )r s r �closezRedisCache.close s � ��r r ) �__name__� __module__�__qualname__r r r r r r"