diff options
| author | 2026-03-24 06:10:36 +0000 | |
|---|---|---|
| committer | 2026-03-24 06:10:36 +0000 | |
| commit | a454068d748a363833df3a2219ac278bcaf4c39b (patch) | |
| tree | 43a8c0046d02b81688b068b1eda43913e6a81d20 /repository/objects.go | |
| parent | TODO: Remove that broken line (diff) | |
| signature | No signature | |
repository: Clarify ownership
Diffstat (limited to 'repository/objects.go')
| -rw-r--r-- | repository/objects.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/repository/objects.go b/repository/objects.go index b7ca2094..965a9f68 100644 --- a/repository/objects.go +++ b/repository/objects.go @@ -68,6 +68,10 @@ func openObjectStore( // Objects returns the configured object store. // +// The returned store is owned by Repository and borrows repository-managed +// resources. Callers must not close it directly, and it must not be used after +// Close. +// //nolint:ireturn func (repo *Repository) Objects() objectstore.Store { return repo.objects |
