aboutsummaryrefslogtreecommitdiff
path: root/loose.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2025-11-16 00:00:00 +0000
committerGravatar Runxi Yu2025-11-16 00:00:00 +0000
commit5c15542025c98f89d65331ff01b28daa389cf2a6 (patch)
tree18a4cf7eb79ef81d63b9c658dc42b21e69e1282e /loose.go
parentrepo is thread safe (diff)
signature
Fix some docs and API types
Diffstat (limited to 'loose.go')
-rw-r--r--loose.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/loose.go b/loose.go
index 60cdfbc9..84ebd006 100644
--- a/loose.go
+++ b/loose.go
@@ -21,7 +21,7 @@ func (repo *Repository) loosePath(id Hash) (string, error) {
return filepath.Join("objects", hex[:2], hex[2:]), nil
}
-func (repo *Repository) looseRead(id Hash) (Object, error) {
+func (repo *Repository) looseRead(id Hash) (StoredObject, error) {
ty, body, err := repo.looseReadTyped(id)
if err != nil {
return nil, err