MCPcopy Create free account
hub / github.com/aptly-dev/aptly / Matches

Method Matches

deb/query.go:105–107  ·  view source on GitHub ↗

Matches if both of L, R matches

(pkg PackageLike)

Source from the content-addressed store, hash-verified

103
104// Matches if both of L, R matches
105func (q *AndQuery) Matches(pkg PackageLike) bool {
106 return q.L.Matches(pkg) && q.R.Matches(pkg)
107}
108
109// Fast is true if any of the parts are fast
110func (q *AndQuery) Fast(list PackageCatalog) bool {

Callers

nothing calls this directly

Calls 1

MatchesMethod · 0.65

Tested by

no test coverage detected