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

Method Query

deb/query.go:89–97  ·  view source on GitHub ↗

Query strategy depends on nodes

(list PackageCatalog)

Source from the content-addressed store, hash-verified

87
88// Query strategy depends on nodes
89func (q *OrQuery) Query(list PackageCatalog) (result *PackageList) {
90 if q.Fast(list) {
91 result = q.L.Query(list)
92 _ = result.Append(q.R.Query(list))
93 } else {
94 result = list.Scan(q)
95 }
96 return
97}
98
99// String interface
100func (q *OrQuery) String() string {

Callers

nothing calls this directly

Calls 4

FastMethod · 0.95
AppendMethod · 0.80
QueryMethod · 0.65
ScanMethod · 0.65

Tested by

no test coverage detected