From daeaee2c564caadc62db9e011e4e9c8213aeb005 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 16 Nov 2025 00:00:00 +0000 Subject: Rename ObjType -> ObjectType --- pack_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pack_test.go') diff --git a/pack_test.go b/pack_test.go index 6ca7e115..e9aac281 100644 --- a/pack_test.go +++ b/pack_test.go @@ -41,7 +41,7 @@ func TestPackSectionInflate(t *testing.T) { body.Release() } -func encodePackHeader(ty ObjType, size int) []byte { +func encodePackHeader(ty ObjectType, size int) []byte { first := byte((ty & 0x7) << 4) first |= byte(size & 0x0f) size >>= 4 -- cgit v1.3.1-10-gc9f91