mirror of
https://github.com/mudler/luet.git
synced 2025-09-09 11:10:07 +00:00
🎨 Port package to types
This refactors DefaultPackage into types.Package and gets rid of the interface. This is a preceeding for a follow up where accessors will be removed from the code. It also does several cleanup, so we get rid also of some unneeded dependencies.
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
|
||||
package tree
|
||||
|
||||
import pkg "github.com/mudler/luet/pkg/package"
|
||||
import "github.com/mudler/luet/pkg/api/core/types"
|
||||
|
||||
// parses ebuilds (?) and generates data which is readable by the builder
|
||||
type Parser interface {
|
||||
Generate(string) (pkg.PackageDatabase, error) // Generate scannable luet tree (by builder)
|
||||
Generate(string) (types.PackageDatabase, error) // Generate scannable luet tree (by builder)
|
||||
}
|
||||
|
Reference in New Issue
Block a user