mirror of
https://github.com/mudler/luet.git
synced 2025-09-07 18:20:19 +00:00
Add dirhash to package signatures
While this breaks current hashing, it ties also the spec content to the hash, in this way if we change something in the spec folder, it breaks the hashing for the package. Signed-off-by: Ettore Di Giacinto <mudler@sabayon.org>
This commit is contained in:
3
vendor/golang.org/x/mod/semver/semver.go
generated
vendored
3
vendor/golang.org/x/mod/semver/semver.go
generated
vendored
@@ -138,6 +138,9 @@ func Compare(v, w string) int {
|
||||
|
||||
// Max canonicalizes its arguments and then returns the version string
|
||||
// that compares greater.
|
||||
//
|
||||
// Deprecated: use Compare instead. In most cases, returning a canonicalized
|
||||
// version is not expected or desired.
|
||||
func Max(v, w string) string {
|
||||
v = Canonical(v)
|
||||
w = Canonical(w)
|
||||
|
Reference in New Issue
Block a user