Matches if any of L, R matches
(pkg PackageLike)
| 77 | |
| 78 | // Matches if any of L, R matches |
| 79 | func (q *OrQuery) Matches(pkg PackageLike) bool { |
| 80 | return q.L.Matches(pkg) || q.R.Matches(pkg) |
| 81 | } |
| 82 | |
| 83 | // Fast is true only if both parts are fast |
| 84 | func (q *OrQuery) Fast(list PackageCatalog) bool { |