load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "filesystem", srcs = [ "compare.go", "exists.go", "owners.go", ], importpath = "edge-infra.dev/pkg/lib/filesystem", visibility = ["//visibility:public"], deps = ["@org_golang_x_sys//unix"], ) go_test( name = "filesystem_test", srcs = [ "compare_test.go", "exists_test.go", "filesystem_test.go", ], data = glob(["testdata/**"]), embed = [":filesystem"], deps = [ "@com_github_onsi_ginkgo_v2//:ginkgo", "@com_github_onsi_gomega//:gomega", ], )