diff options
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 |
