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/transfer_spec.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/transfer_spec.py')
-rw-r--r-- | lldb/utils/sync-source/lib/transfer/transfer_spec.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lldb/utils/sync-source/lib/transfer/transfer_spec.py b/lldb/utils/sync-source/lib/transfer/transfer_spec.py new file mode 100644 index 00000000000..cc76c70bf41 --- /dev/null +++ b/lldb/utils/sync-source/lib/transfer/transfer_spec.py @@ -0,0 +1,11 @@ +class TransferSpec(object): + def __init__(self, source_path, exclude_paths, dest_path): + self.source_path = source_path + self.exclude_paths = exclude_paths + self.dest_path = dest_path + + def __repr__(self): + fmt = ( + "TransferSpec(source_path='{}', exclude_paths='{}', " + "dest_path='{}')") + return fmt.format(self.source_path, self.exclude_paths, self.dest_path) |