syncfiles/sync/BUILD.bazel
Dietrich Epp 70abe95ff1 Create a tree structure for storing file metadata
This adds a a "simple" red-black tree that can store a record of each
file both on the local and remote side.
2022-03-30 05:23:37 -04:00

33 lines
511 B
Python

load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
load("//bazel:copts.bzl", "COPTS")
cc_library(
name = "tree",
srcs = [
"tree.c",
],
hdrs = [
"meta.h",
"tree.h",
],
copts = COPTS,
visibility = ["//visibility:public"],
deps = [
"//lib",
],
)
cc_test(
name = "tree_test",
size = "small",
srcs = [
"tree_test.c",
],
copts = COPTS,
deps = [
":tree",
"//lib",
"//lib:test",
],
)