| 5 | import "github.com/netdata/netdata/go/plugins/pkg/selectorcore" |
| 6 | |
| 7 | type Expr struct { |
| 8 | Allow []string `yaml:"allow,omitempty" json:"allow"` |
| 9 | Deny []string `yaml:"deny,omitempty" json:"deny"` |
| 10 | } |
| 11 | |
| 12 | func (e Expr) Empty() bool { |
| 13 | return len(e.Allow) == 0 && len(e.Deny) == 0 |
nothing calls this directly
no outgoing calls
no test coverage detected