luet/pkg/installer/system.go

15 lines
227 B
Go
Raw Normal View History

2019-11-22 20:01:38 +00:00
package installer
import (
pkg "github.com/mudler/luet/pkg/package"
)
type System struct {
Database pkg.PackageDatabase
Target string
}
2020-04-04 12:29:08 +00:00
func (s *System) World() (pkg.Packages, error) {
2019-11-29 18:01:52 +00:00
return s.Database.World(), nil
2019-11-22 20:01:38 +00:00
}