MCPcopy Index your code
hub / github.com/aptly-dev/aptly / Matches

Method Matches

deb/query.go:79–81  ·  view source on GitHub ↗

Matches if any of L, R matches

(pkg PackageLike)

Source from the content-addressed store, hash-verified

77
78// Matches if any of L, R matches
79func (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
84func (q *OrQuery) Fast(list PackageCatalog) bool {

Callers

nothing calls this directly

Calls 1

MatchesMethod · 0.65

Tested by

no test coverage detected