mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Fix bugs after style fixes.
This commit is contained in:
+5
-1
@@ -333,7 +333,11 @@ func (l *PackageList) PrepareIndex() {
|
||||
l.indexed = true
|
||||
}
|
||||
|
||||
// Search searches package index for specified package
|
||||
// Query searches package index using parsed query
|
||||
//func (l *PackageList) Query(, allMatches bool) (searchResults []*Package) {
|
||||
//}
|
||||
|
||||
// Search searches package index for specified package(s)
|
||||
func (l *PackageList) Search(dep Dependency, allMatches bool) (searchResults []*Package) {
|
||||
if !l.indexed {
|
||||
panic("list not indexed, can't search")
|
||||
|
||||
Reference in New Issue
Block a user