aboutsummaryrefslogtreecommitdiff
path: root/refstore/reading.go
diff options
context:
space:
mode:
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
}