From 5c15542025c98f89d65331ff01b28daa389cf2a6 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 16 Nov 2025 00:00:00 +0000 Subject: Fix some docs and API types --- obj.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'obj.go') diff --git a/obj.go b/obj.go index 7deb330e..8a7eccac 100644 --- a/obj.go +++ b/obj.go @@ -92,7 +92,7 @@ func parseObjectBody(ty ObjectType, id Hash, body []byte, repo *Repository) (Sto } // ReadObject resolves an ID. -func (repo *Repository) ReadObject(id Hash) (Object, error) { +func (repo *Repository) ReadObject(id Hash) (StoredObject, error) { obj, err := repo.looseRead(id) if err == nil { return obj, nil -- cgit v1.3.1-10-gc9f91