mirror of
https://github.com/google/cdc-file-transfer.git
synced 2026-10-29 08:40:44 +03:00
[cdc_rsync] [cdc_rsync_server] Add build ID
Build id is an optional unique identifier specified during cdc_rsync build via CDC_BUILD_VERSION definition. If build id specified on both client and server components it will be used to check the version of server component instead of file size + modified time.
This commit is contained in:
1 parent
1200b34316
commit
36f4dc9251
10 files changed
+100
-20
No files matched your search
@@ -44,6 +44,11 @@ cc_library(
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "build_version",
|
||||
hdrs = ["build_version.h"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "dir_iter",
|
||||
srcs = ["dir_iter.cc"],
|
||||
@@ -395,6 +400,7 @@ cc_library(
|
||||
":path",
|
||||
":platform",
|
||||
":status",
|
||||
"//common:build_version",
|
||||
"@com_google_absl//absl/status",
|
||||
"@com_google_absl//absl/strings:str_format",
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user