mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
refactor: add Ecosystem() method to PackageManager interface
This commit is contained in:
@@ -60,6 +60,9 @@ type PackageManager interface {
|
||||
// ParseCommand parses the command and returns a parsed command
|
||||
// specific to the package manager implementation
|
||||
ParseCommand(args []string) (*ParsedCommand, error)
|
||||
|
||||
// Ecosystem of the package manager
|
||||
Ecosystem() packagev1.Ecosystem
|
||||
}
|
||||
|
||||
// PackageResolver is the contract for resolving package info
|
||||
|
||||
Reference in New Issue
Block a user