We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21abe4a commit 3afebfcCopy full SHA for 3afebfc
1 file changed
internal/pipeline/filtering/builder.go
@@ -9,18 +9,14 @@ import (
9
"strings"
10
)
11
12
-type Filter func(*PkgInfo) bool
+type Filter func(*pkgdata.PkgInfo) bool
13
14
type FilterCondition struct {
15
Filter Filter
16
PhaseName string
17
FieldType consts.FieldType
18
}
19
20
-type (
21
- PkgInfo = pkgdata.PkgInfo
22
-)
23
-
24
func QueriesToConditions(queries []query.FieldQuery) ([]*FilterCondition, error) {
25
conditions := make([]*FilterCondition, 0, len(queries))
26
0 commit comments