From 9da262c92189e4007834bf2023f0c032f2a1a0d9 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 29 Mar 2026 10:55:24 +0000 Subject: object{,/type}: Fix up API shape --- object/parse_without_header.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'object/parse_without_header.go') diff --git a/object/parse_without_header.go b/object/parse_without_header.go index d8774b9a..c889cb40 100644 --- a/object/parse_without_header.go +++ b/object/parse_without_header.go @@ -11,10 +11,10 @@ import ( objecttype "codeberg.org/lindenii/furgit/object/type" ) -// ParseObjectWithoutHeader parses a typed object body. +// ParseWithoutHeader parses a typed object body. // //nolint:ireturn -func ParseObjectWithoutHeader(ty objecttype.Type, body []byte, algo objectid.Algorithm) (Object, error) { +func ParseWithoutHeader(ty objecttype.Type, body []byte, algo objectid.Algorithm) (Object, error) { switch ty { case objecttype.TypeBlob: return blob.Parse(body) -- cgit v1.3.1-10-gc9f91