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

Function andConst

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

Source from the content-addressed store, hash-verified

50}
51
52func andConst(a, b *Constraint) *Constraint {
53 return &Constraint{
54 Logical: &LogicalConstraint{
55 Op: "and",
56 A: a,
57 B: b,
58 },
59 }
60}
61
62func orConst(a, b *Constraint) *Constraint {
63 return &Constraint{

Callers 4

PredicateMethod · 0.85
parseAndRHSMethod · 0.85
parseExpressionFunction · 0.85
expr_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected