Files
netris-cdc-file-transfer/cdc_indexer/BUILD
Christian Schneider 4326e972ac Releasing the former Stadia file transfer tools
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.
2022-11-03 10:39:10 +01:00

36 lines
984 B
Python

package(default_visibility = ["//visibility:public"])
cc_binary(
name = "cdc_indexer",
srcs = ["main.cc"],
deps = [
":indexer_lib",
"//absl_helper:jedec_size_flag",
"//common:path",
"@com_google_absl//absl/flags:config",
"@com_google_absl//absl/flags:flag",
"@com_google_absl//absl/flags:parse",
"@com_google_absl//absl/flags:usage",
"@com_google_absl//absl/random",
"@com_google_absl//absl/time",
],
)
cc_library(
name = "indexer_lib",
srcs = ["indexer.cc"],
hdrs = ["indexer.h"],
deps = [
"//common:dir_iter",
"//common:path",
"//common:status_macros",
"//fastcdc",
"@com_github_blake3//:blake3",
"@com_google_absl//absl/functional:bind_front",
"@com_google_absl//absl/random",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings:str_format",
"@com_google_absl//absl/time",
],
)