aboutsummaryrefslogtreecommitdiff
path: root/refstore/reading.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-22 22:07:39 +0000
committerGravatar Runxi Yu2026-03-22 22:07:39 +0000
commit7ddaf1eb2fde11a9e07df0215646c1dca08ccc50 (patch)
treeec1096bd8229fa0a3c3272e2a52e60bff0d73797 /refstore/reading.go
parentobjectstore/loose, receivepack/service, repository: Lint whitespace (diff)
signatureNo signature
refstore, repository: Ownership/lifetimes fix v0.1.87
Diffstat (limited to 'refstore/reading.go')
-rw-r--r--refstore/reading.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/refstore/reading.go b/refstore/reading.go
index c302f350..98a5bd51 100644
--- a/refstore/reading.go
+++ b/refstore/reading.go
@@ -25,5 +25,8 @@ type ReadingStore interface {
// The exact pattern language is backend-defined.
List(pattern string) ([]ref.Ref, error)
// Close releases resources associated with the store.
+ //
+ // Repeated calls to Close are undefined behavior unless the implementation
+ // explicitly documents otherwise.
Close() error
}