Reformat common to standardized format
[osm/common.git] / osm_common / fsbase.py
index 87d974d..219dbe1 100644 (file)
@@ -31,7 +31,7 @@ class FsException(Exception):
 
 
 class FsBase(object):
-    def __init__(self, logger_name='fs', lock=False):
+    def __init__(self, logger_name="fs", lock=False):
         """
         Constructor of FsBase
         :param logger_name: logging name
@@ -65,6 +65,9 @@ class FsBase(object):
     def dir_rename(self, src, dst):
         raise FsException("Method 'dir_rename' not implemented")
 
+    def dir_ls(self, storage):
+        raise FsException("Method 'dir_ls' not implemented")
+
     def file_exists(self, storage):
         raise FsException("Method 'file_exists' not implemented")
 
@@ -79,3 +82,9 @@ class FsBase(object):
 
     def file_delete(self, storage, ignore_non_exist=False):
         raise FsException("Method 'file_delete' not implemented")
+
+    def sync(self, from_path=None):
+        raise FsException("Method 'sync' not implemented")
+
+    def reverse_sync(self, from_path):
+        raise FsException("Method 'reverse_sync' not implemented")