aboutsummaryrefslogtreecommitdiff
path: root/obj.go
diff options
context:
space:
mode:
Diffstat (limited to 'obj.go')
-rw-r--r--obj.go2
1 files changed, 1 insertions, 1 deletions
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