mirror of
https://github.com/mudler/luet.git
synced 2025-09-02 07:45:02 +00:00
Add ValidateSelector to versioner interface and consume it
We can refactor furthermore by dropping the package methods, as now we can consume a versioner in all places that requires it
This commit is contained in:
@@ -22,4 +22,6 @@ type Versioner interface {
|
||||
Sanitize(string) string
|
||||
Validate(string) error
|
||||
Sort([]string) []string
|
||||
|
||||
ValidateSelector(version string, selector string) bool
|
||||
}
|
||||
|
Reference in New Issue
Block a user