equal
deleted
inserted
replaced
3045 |
3045 |
3046 This method must be implemented. |
3046 This method must be implemented. |
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 |
3053 If this compression engine isn't supported for bundles, returns None. |
3062 If this compression engine isn't supported for bundles, returns None. |
3054 |
3063 |