20 lines
459 B
Go
20 lines
459 B
Go
package bundle
|
|
|
|
import publicbundle "gitea.maximumdirect.net/eric/distributor/pkg/bundle"
|
|
|
|
func ValidateDigest(value string) error {
|
|
return publicbundle.ValidateDigest(value)
|
|
}
|
|
|
|
func FileDigest(data []byte) string {
|
|
return publicbundle.FileDigest(data)
|
|
}
|
|
|
|
func BundleDigest(files []ManifestFile) string {
|
|
return publicbundle.BundleDigest(files)
|
|
}
|
|
|
|
func CanonicalFilePayload(files []ManifestFile) string {
|
|
return publicbundle.CanonicalFilePayload(files)
|
|
}
|