From 256d945a109f8d6bf6a13d0e9a93545b64680ba8 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 29 Mar 2026 16:07:21 +0000 Subject: object/id: Add support for signature headers --- object/id/algorithm_details.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'object/id/algorithm_details.go') 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 { -- cgit v1.3.1-10-gc9f91