##// END OF EJS Templates
util: expose an "available" API on compression engines...
Gregory Szorc -
r30437:64d72754 default
parent child Browse files
Show More
@@ -3047,6 +3047,15 b' class compressionengine(object):'
3047 """
3047 """
3048 raise NotImplementedError()
3048 raise NotImplementedError()
3049
3049
3050 def available(self):
3051 """Whether the compression engine is available.
3052
3053 The intent of this method is to allow optional compression engines
3054 that may not be available in all installations (such as engines relying
3055 on C extensions that may not be present).
3056 """
3057 return True
3058
3050 def bundletype(self):
3059 def bundletype(self):
3051 """Describes bundle identifiers for this engine.
3060 """Describes bundle identifiers for this engine.
3052
3061
General Comments 0
You need to be logged in to leave comments. Login now