mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
Consolidate all hashing to the common/hashing package
And remove now unsued hashing funcs.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
package internal
|
||||
|
||||
import "github.com/gohugoio/hugo/identity"
|
||||
import "github.com/gohugoio/hugo/common/hashing"
|
||||
|
||||
// ResourceTransformationKey are provided by the different transformation implementations.
|
||||
// It identifies the transformation (name) and its configuration (elements).
|
||||
@@ -38,5 +38,5 @@ func (k ResourceTransformationKey) Value() string {
|
||||
return k.Name
|
||||
}
|
||||
|
||||
return k.Name + "_" + identity.HashString(k.elements...)
|
||||
return k.Name + "_" + hashing.HashString(k.elements...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user