MCPcopy Index your code
hub / github.com/perkeep/perkeep / orConst

Function orConst

pkg/search/expr.go:62–70  ·  view source on GitHub ↗
(a, b *Constraint)

Source from the content-addressed store, hash-verified

60}
61
62func orConst(a, b *Constraint) *Constraint {
63 return &Constraint{
64 Logical: &LogicalConstraint{
65 Op: "or",
66 A: a,
67 B: b,
68 },
69 }
70}
71
72func notConst(a *Constraint) *Constraint {
73 return &Constraint{

Callers 4

PredicateMethod · 0.85
locationPredicateFunction · 0.85
parseOrRHSMethod · 0.85
expr_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected