GRAYBYTE WORDPRESS FILE MANAGER1920

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/lib/python3.8/site-packages/pip/_vendor/cachecontrol/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/lib/python3.8/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)

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 05 2024 23:45:22
root / root
0755
__pycache__
--
March 05 2024 23:45:22
root / root
0755
caches
--
March 05 2024 23:45:22
root / root
0755
__init__.py
0.295 KB
October 17 2023 18:30:24
root / root
0644
_cmd.py
1.265 KB
October 17 2023 18:30:24
root / root
0644
adapter.py
4.749 KB
October 17 2023 18:30:24
root / root
0644
cache.py
0.786 KB
October 17 2023 18:30:24
root / root
0644
compat.py
0.679 KB
October 17 2023 18:30:24
root / root
0644
controller.py
13.377 KB
October 17 2023 18:30:24
root / root
0644
filewrapper.py
2.474 KB
October 17 2023 18:30:24
root / root
0644
heuristics.py
3.975 KB
October 17 2023 18:30:24
root / root
0644
serialize.py
6.791 KB
October 17 2023 18:30:24
root / root
0644
wrapper.py
0.655 KB
October 17 2023 18:30:24
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF