refactor: add Ecosystem() method to PackageManager interface

This commit is contained in:
Sahilb315
2025-06-11 17:13:55 +05:30
parent af27701b8d
commit 8b8a98b13d
4 changed files with 12 additions and 12 deletions
+3
View File
@@ -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