In module lists, handle allowed replacements.

This commit is contained in:
monopole
2021-04-30 18:35:59 -07:00
parent accd71a105
commit 6c9bf58e7f
6 changed files with 32 additions and 30 deletions

View File

@@ -50,6 +50,9 @@ type LaModule interface {
// GetReplacements returns a list of replacements.
GetReplacements() []string
// GetDisallowedReplacements returns a list of disallowed replacements.
GetDisallowedReplacements([]string) []string
}
// VersionMap holds the versions associated with modules.