aboutsummaryrefslogtreecommitdiff
path: root/obj.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2025-11-15 00:00:00 +0000
committerGravatar Runxi Yu2025-11-15 00:00:00 +0000
commitbd398609ce7f516bf6fae617656fff0509c5fc1c (patch)
treee40c636584d2193f7d0716564b5357c30577660c /obj.go
parentREADME: Add example (diff)
signature
Include hashes in object structs
Diffstat (limited to 'obj.go')
-rw-r--r--obj.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/obj.go b/obj.go
index d3d69c25..38f18b55 100644
--- a/obj.go
+++ b/obj.go
@@ -33,10 +33,6 @@ type Object interface {
ObjType() ObjType
}
-type objectBase struct {
- Hash Hash
-}
-
func computeRawHash(data []byte) Hash {
var id Hash
sum := newHash(data)