]> git.parisson.com Git - timeside.git/commitdiff
api: remove IEncoder.set_cache_dir()
authorOlivier Guilyardi <olivier@samalyse.com>
Thu, 26 Nov 2009 15:46:02 +0000 (15:46 +0000)
committerOlivier Guilyardi <olivier@samalyse.com>
Thu, 26 Nov 2009 15:46:02 +0000 (15:46 +0000)
encode/api.py

index 4e45324c9925eefd0de455f4d40b0f7e19916d6e..7f77f7500e5bab7285d0f010d90f8f15cfaa07d3 100644 (file)
@@ -46,14 +46,6 @@ class IEncoder(Interface):
     def mime_type():
         """Return the mime type corresponding to this encode format"""
 
-    def set_cache_dir(path):
-        """Set the directory where cached files should be stored. Does nothing
-        if the encoder doesn't support caching.
-       
-        The driver shouldn't assume that this method will always get called. A
-        temporary directory should be used if that's not the case.
-        """
-        
     def process(source, metadata, options=None):
         """Perform the encoding process and stream the result as a generator.