aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 1f3b5f20..06cbba68 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -1153,6 +1153,22 @@ class Cache:
shutil.copyfile(creator(), cachename)
return cachename
+class JCache:
+ # Generates a single key from multiple values
+ @staticmethod
+ def get_key(keys):
+ return ''
+
+ # Returns a cached value for a key (from get_key), if it exists
+ @staticmethod
+ def get(key):
+ return None
+
+ # Sets the cached value for a key (from get_key)
+ @staticmethod
+ def set(key, value):
+ pass
+
# Compression of code and data for smaller downloads
class Compression:
on = False