load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "cmp", srcs = [ "diff.go", "doc.go", "hashes.go", ], importpath = "edge-infra.dev/pkg/f8n/warehouse/oci/cmp", visibility = ["//visibility:public"], deps = [ "//pkg/f8n/warehouse/oci", "//pkg/f8n/warehouse/oci/layer", "//pkg/f8n/warehouse/oci/walk", "@com_github_google_go_containerregistry//pkg/v1:pkg", ], ) go_test( name = "cmp_test", srcs = [ "cmp_test.go", "diff_test.go", ], deps = [ ":cmp", "//pkg/f8n/warehouse/oci", "//test/fixtures", "@com_github_google_go_containerregistry//pkg/name", "@com_github_stretchr_testify//assert", ], )