diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2015-09-17 17:14:31 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2015-09-17 17:14:31 +0000 |
commit | 37e56318ec2e4a08974fedd99cfacbe7b9613392 (patch) | |
tree | ec27e11c64383fc810f845b87e064ee1cd962e93 /lldb/utils/sync-source/lib/transfer/protocol.py | |
parent | 01485654db8031fcc94158a437fdf23c4fdfe97a (diff) | |
download | bcm5719-llvm-37e56318ec2e4a08974fedd99cfacbe7b9613392.tar.gz bcm5719-llvm-37e56318ec2e4a08974fedd99cfacbe7b9613392.zip |
Add sync-source.py utility.
See:
http://reviews.llvm.org/D12940
for more details.
See utils/sync-source/README.txt for documentation
and a sample .sync-sourcerc file.
llvm-svn: 247903
Diffstat (limited to 'lldb/utils/sync-source/lib/transfer/protocol.py')
-rw-r--r-- | lldb/utils/sync-source/lib/transfer/protocol.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/utils/sync-source/lib/transfer/protocol.py b/lldb/utils/sync-source/lib/transfer/protocol.py new file mode 100644 index 00000000000..6a4e6e0a3a4 --- /dev/null +++ b/lldb/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" |