projects
/
osm
/
common.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Jenkins refresh
[osm/common.git]
/
osm_common
/
fsbase.py
diff --git
a/osm_common/fsbase.py
b/osm_common/fsbase.py
index
208ab87
..
219dbe1
100644
(file)
--- a/
osm_common/fsbase.py
+++ b/
osm_common/fsbase.py
@@
-31,7
+31,7
@@
class FsException(Exception):
class FsBase(object):
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
"""
Constructor of FsBase
:param logger_name: logging name
@@
-82,3
+82,9
@@
class FsBase(object):
def file_delete(self, storage, ignore_non_exist=False):
raise FsException("Method 'file_delete' not implemented")
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")