mirror of
https://github.com/mudler/luet.git
synced 2025-09-05 09:10:43 +00:00
Add FindPackages()
The version inmemory is optimized, while the boltdb implementation is not. It returns a list of the same package but with all the versions present in the db.
This commit is contained in:
committed by
Ettore Di Giacinto
parent
556668fcc4
commit
57181d7cbf
@@ -33,6 +33,7 @@ type PackageSet interface {
|
||||
GetPackage(ID string) (Package, error)
|
||||
Clean() error
|
||||
FindPackage(Package) (Package, error)
|
||||
FindPackages(p Package) ([]Package, error)
|
||||
UpdatePackage(p Package) error
|
||||
GetAllPackages(packages chan Package) error
|
||||
RemovePackage(Package) error
|
||||
|
Reference in New Issue
Block a user