Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/netdata/netdata
/ Empty
Method
Empty
src/go/pkg/selectorcore/expr.go:13–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
}
12
13
func
(e Expr) Empty() bool {
14
return
len(e.Allow) == 0 && len(e.Deny) == 0
15
}
16
17
func
(e Expr) Parse() (Selector, error) {
18
if
e.Empty() {
Callers
4
Parse
Method · 0.95
TestColumnSet_Empty
Function · 0.45
TestExprEmpty
Function · 0.45
TestNewHTTPRequest
Function · 0.45
Implementers
8
CSVParser
src/go/plugin/go.d/pkg/logs/csv.go
LTSVParser
src/go/plugin/go.d/pkg/logs/ltsv.go
JSONParser
src/go/plugin/go.d/pkg/logs/json.go
RegExpParser
src/go/plugin/go.d/pkg/logs/regexp.go
SimpleExpr
src/go/pkg/matcher/expr.go
Expr
src/go/pkg/prometheus/selector/expr.go
Expr
src/go/pkg/selectorcore/expr.go
Expr
src/go/pkg/metrix/selector/expr.go
Calls
no outgoing calls
Tested by
3
TestColumnSet_Empty
Function · 0.36
TestExprEmpty
Function · 0.36
TestNewHTTPRequest
Function · 0.36