summaryrefslogtreecommitdiff
path: root/utils/sync-source/lib/transfer/protocol.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/sync-source/lib/transfer/protocol.py')
-rw-r--r--utils/sync-source/lib/transfer/protocol.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/sync-source/lib/transfer/protocol.py b/utils/sync-source/lib/transfer/protocol.py
new file mode 100644
index 0000000000000..6a4e6e0a3a454
--- /dev/null
+++ b/utils/sync-source/lib/transfer/protocol.py
@@ -0,0 +1,7 @@
+class Protocol(object):
+ def __init__(self, options, config):
+ self.options = options
+ self.config = config
+
+ def transfer(transfer_specs, dry_run):
+ raise "transfer must be overridden by transfer implementation"