aboutsummaryrefslogtreecommitdiff
path: root/repo.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2025-11-16 00:00:00 +0000
committerGravatar Runxi Yu2025-11-16 00:00:00 +0000
commitdaeaee2c564caadc62db9e011e4e9c8213aeb005 (patch)
treee58b8265e4d6b875674bf05dfd83ecd4d2cab71b /repo.go
parentIgnore error on f.Close() (diff)
signature
Rename ObjType -> ObjectType
Diffstat (limited to 'repo.go')
-rw-r--r--repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repo.go b/repo.go
index cfe7320e..9b767f01 100644
--- a/repo.go
+++ b/repo.go
@@ -166,7 +166,7 @@ func (repo *Repository) verifyRawObject(buf []byte, want Hash) bool {
}
// verifyTypedObject verifies a typed object against its expected hash.
-func (repo *Repository) verifyTypedObject(ty ObjType, body []byte, want Hash) bool {
+func (repo *Repository) verifyTypedObject(ty ObjectType, body []byte, want Hash) bool {
if want.size != repo.HashSize {
return false
}