load("@cgrindel_bazel_starlib//bzllib:defs.bzl", "filter_srcs") filter_srcs(name, srcs, expected_count, filename_ends_with)
Filters the provided inputs using the specified criteria.
ATTRIBUTES
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this target. | Name | required | |
srcs | The inputs that will be evaluated by the filter. | List of labels | required | |
expected_count | The expected number of results. | Integer | optional | -1 |
filename_ends_with | The suffix of the path will be compared to this value. | String | optional | "" |