diff options
| author | 2025-11-16 00:00:00 +0000 | |
|---|---|---|
| committer | 2025-11-16 00:00:00 +0000 | |
| commit | 5c15542025c98f89d65331ff01b28daa389cf2a6 (patch) | |
| tree | 18a4cf7eb79ef81d63b9c658dc42b21e69e1282e /obj.go | |
| parent | repo is thread safe (diff) | |
| signature | ||
Fix some docs and API types
Diffstat (limited to 'obj.go')
| -rw-r--r-- | obj.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
