X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=python%2Fcumulus%2Fstore%2F__init__.py;h=35de0ee153ed57187f83a7d7ebf48b7ebee5f51a;hp=7c43b695b232bf4eb4e87dbfa27a26713f08c0bc;hb=92488d46a0deca6d031d07852c3b79214280ab6d;hpb=0d3714dd199cb13174bdcacf7bc9e65290769b6f diff --git a/python/cumulus/store/__init__.py b/python/cumulus/store/__init__.py index 7c43b69..35de0ee 100644 --- a/python/cumulus/store/__init__.py +++ b/python/cumulus/store/__init__.py @@ -26,6 +26,17 @@ class Store: def delete(self, type, name): raise NotImplementedException + def stat(self, type, name): + raise NotImplementedException + + def scan(self): + """Cache file information stored in this backend. + + This might make subsequent list or stat calls more efficient, but this + function is intended purely as a performance optimization.""" + + pass + def open(url): (scheme, netloc, path, params, query, fragment) \ = urlparse.urlparse(url)