diff options
author | Josh Gao <jmgao@google.com> | 2020-03-30 23:25:16 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2020-04-02 17:11:08 -0700 |
commit | 8a410a0ed28d57218e1d966143c2719cd98bdfca (patch) | |
tree | 167b942dc6474c4c377c8b14a9053de1c8b8f393 /file_sync_protocol.h | |
parent | fb386cc38741fdceb46e7caa6c7d35fb6b14fd8e (diff) | |
download | adb-8a410a0ed28d57218e1d966143c2719cd98bdfca.tar.gz |
adb: add dry-run option to push/sync.
Make it easier to benchmark file sync performance by ignoring the file
system.
Bug: https://issuetracker.google.com/150827486
Test: test_device.py
Change-Id: Icfa4b28eb5206f1914c0c163833d070a3748c3ea
Diffstat (limited to 'file_sync_protocol.h')
-rw-r--r-- | file_sync_protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/file_sync_protocol.h b/file_sync_protocol.h index 90bd7639..8f8f85fa 100644 --- a/file_sync_protocol.h +++ b/file_sync_protocol.h @@ -93,6 +93,7 @@ enum SyncFlag : uint32_t { kSyncFlagNone = 0, kSyncFlagBrotli = 1, kSyncFlagLZ4 = 2, + kSyncFlagDryRun = 0x8000'0000U, }; enum class CompressionType { |