aboutsummaryrefslogtreecommitdiff
path: root/file_sync_protocol.h
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2020-03-30 23:25:16 -0700
committerJosh Gao <jmgao@google.com>2020-04-02 17:11:08 -0700
commit8a410a0ed28d57218e1d966143c2719cd98bdfca (patch)
tree167b942dc6474c4c377c8b14a9053de1c8b8f393 /file_sync_protocol.h
parentfb386cc38741fdceb46e7caa6c7d35fb6b14fd8e (diff)
downloadadb-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.h1
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 {