mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-01-30 10:25:37 +02:00
The tools allow efficient and fast synchronization of large directory trees from a Windows workstation to a Linux target machine. cdc_rsync* support efficient copy of files by using content-defined chunking (CDC) to identify chunks within files that can be reused. asset_stream_manager + cdc_fuse_fs support efficient streaming of a local directory to a remote virtual file system based on FUSE. It also employs CDC to identify and reuse unchanged data chunks.
45 lines
788 B
Python
45 lines
788 B
Python
package(default_visibility = [
|
|
"//:__subpackages__",
|
|
])
|
|
|
|
cc_binary(
|
|
name = "cdc_rsync",
|
|
srcs = ["main.cc"],
|
|
deps = [
|
|
":params",
|
|
"//cdc_rsync",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "params",
|
|
srcs = ["params.cc"],
|
|
hdrs = ["params.h"],
|
|
deps = [
|
|
"//cdc_rsync",
|
|
"@com_github_zstd//:zstd",
|
|
"@com_google_absl//absl/status",
|
|
],
|
|
)
|
|
|
|
cc_test(
|
|
name = "params_test",
|
|
srcs = ["params_test.cc"],
|
|
data = ["testdata/root.txt"] + glob(["testdata/params/**"]),
|
|
deps = [
|
|
":params",
|
|
"//common:test_main",
|
|
"@com_google_googletest//:gtest",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all_test_sources",
|
|
srcs = glob(["*_test.cc"]),
|
|
)
|
|
|
|
filegroup(
|
|
name = "all_test_data",
|
|
srcs = glob(["testdata/**"]),
|
|
)
|