$82 GRAYBYTE WORDPRESS FILE MANAGER $19

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/python27/lib/python2.7/site-packages/pip/_vendor/cachecontrol/

HOME
Current File : /opt/alt/python27/lib/python2.7/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
..
--
3 Mar 2024 10.49 PM
root / linksafe
0755
caches
--
3 Mar 2024 10.49 PM
root / linksafe
0755
__init__.py
0.295 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
__init__.pyc
0.643 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
_cmd.py
1.265 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
_cmd.pyc
2.371 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
adapter.py
4.768 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
adapter.pyc
4.155 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
cache.py
0.786 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
cache.pyc
3.155 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
compat.py
0.679 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
compat.pyc
0.856 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
controller.py
13.817 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
controller.pyc
10.327 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
filewrapper.py
2.474 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
filewrapper.pyc
3.19 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
heuristics.py
3.975 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
heuristics.pyc
6.954 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
serialize.py
6.925 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
serialize.pyc
6.661 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
wrapper.py
0.674 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
wrapper.pyc
0.956 KB
13 Nov 2023 9.11 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF