$18 GRAYBYTE WORDPRESS FILE MANAGER $43

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/cachecontrol/

HOME
Current File : /opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/cachecontrol//cache.py
"""
The cache object API for implementing caches. The default is a thread
safe in-memory dictionary.
"""
from threading import Lock


class BaseCache(object):

    def get(self, key):
        raise NotImplementedError()

    def set(self, key, value):
        raise NotImplementedError()

    def delete(self, key):
        raise NotImplementedError()

    def close(self):
        pass


class DictCache(BaseCache):

    def __init__(self, init_dict=None):
        self.lock = Lock()
        self.data = init_dict or {}

    def get(self, key):
        return self.data.get(key, None)

    def set(self, key, value):
        with self.lock:
            self.data.update({key: value})

    def delete(self, key):
        with self.lock:
            if key in self.data:
                self.data.pop(key)


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__pycache__
--
10 Feb 2026 9.36 AM
root / linksafe
0755
caches
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__init__.py
0.295 KB
9 Jan 2026 3.17 PM
root / linksafe
0644
_cmd.py
1.265 KB
9 Jan 2026 3.17 PM
root / linksafe
0644
adapter.py
4.768 KB
9 Jan 2026 3.17 PM
root / linksafe
0644
cache.py
0.786 KB
9 Jan 2026 3.17 PM
root / linksafe
0644
compat.py
0.679 KB
9 Jan 2026 3.17 PM
root / linksafe
0644
controller.py
13.817 KB
9 Jan 2026 3.17 PM
root / linksafe
0644
filewrapper.py
2.474 KB
9 Jan 2026 3.17 PM
root / linksafe
0644
heuristics.py
3.975 KB
9 Jan 2026 3.17 PM
root / linksafe
0644
serialize.py
6.925 KB
9 Jan 2026 3.17 PM
root / linksafe
0644
wrapper.py
0.674 KB
9 Jan 2026 3.17 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF