aboutsummaryrefslogtreecommitdiff
path: root/object/id/algorithm_details.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 16:07:21 +0000
committerGravatar Runxi Yu2026-03-29 16:07:21 +0000
commit256d945a109f8d6bf6a13d0e9a93545b64680ba8 (patch)
tree6d59a1bf77bf6da206172a9a41208a0e1df0e042 /object/id/algorithm_details.go
parent*: Audit labels (diff)
signatureNo signature
object/id: Add support for signature headers v0.1.148
Diffstat (limited to 'object/id/algorithm_details.go')
-rw-r--r--object/id/algorithm_details.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/object/id/algorithm_details.go b/object/id/algorithm_details.go
index fbdc3c78..15e96292 100644
--- a/object/id/algorithm_details.go
+++ b/object/id/algorithm_details.go
@@ -3,12 +3,13 @@ package objectid
import "hash"
type algorithmDetails struct {
- name string
- size int
- packHashID uint32
- sum func([]byte) ObjectID
- new func() hash.Hash
- emptyTree ObjectID
+ name string
+ size int
+ packHashID uint32
+ signatureHeaderName string
+ sum func([]byte) ObjectID
+ new func() hash.Hash
+ emptyTree ObjectID
}
func (algo Algorithm) info() algorithmDetails {