MCPcopy
hub / github.com/aptly-dev/aptly / PackageQuery

Interface PackageQuery

deb/query.go:29–38  ·  view source on GitHub ↗

PackageQuery is interface of predicate on Package

Source from the content-addressed store, hash-verified

27
28// PackageQuery is interface of predicate on Package
29type PackageQuery interface {
30 // Matches calculates match of condition against package
31 Matches(pkg PackageLike) bool
32 // Fast returns if search strategy is possible for this query
33 Fast(list PackageCatalog) bool
34 // Query performs search on package list
35 Query(list PackageCatalog) *PackageList
36 // String interface
37 String() string
38}
39
40// OrQuery is L | R
41type OrQuery struct {

Callers 27

TestKeyMatchMethod · 0.65
InitMethod · 0.65
MatchesMethod · 0.65
MatchesMethod · 0.65
MatchesMethod · 0.65
IsAllowedMethod · 0.65
ImportPackageFilesFunction · 0.65
ScanMethod · 0.65
FastMethod · 0.65
FastMethod · 0.65
QueryMethod · 0.65
QueryMethod · 0.65

Implementers 7

OrQuerydeb/query.go
AndQuerydeb/query.go
NotQuerydeb/query.go
FieldQuerydeb/query.go
DependencyQuerydeb/query.go
PkgQuerydeb/query.go
MatchAllQuerydeb/query.go

Calls

no outgoing calls

Tested by

no test coverage detected