diff options
| author | 2026-03-29 15:43:50 +0000 | |
|---|---|---|
| committer | 2026-03-29 15:45:18 +0000 | |
| commit | f50ac551c56569e109a8350f27dab53bb2378d4d (patch) | |
| tree | 0d48976ffaab3455c0c26e2840cb88d2c8d4a3d4 /object/store/reading.go | |
| parent | ci: Disable dupl (diff) | |
| signature | No signature | |
*: Remove Close from object/ref store interfaces
At places where you own the object, you should have the literal
implementation with Close. If you're using it via the interface, then
you probably don't own that store, and you shouldn't be closing it.
Thanks to Michael Muré from git-bug for this point.
Diffstat (limited to 'object/store/reading.go')
| -rw-r--r-- | object/store/reading.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/object/store/reading.go b/object/store/reading.go index d27001bf..0e233462 100644 --- a/object/store/reading.go +++ b/object/store/reading.go @@ -52,9 +52,4 @@ type ReadingStore interface { // // Backends without dynamic discovery should do nothing and return nil. Refresh() error - - // Close releases resources associated with the backend. - // - // Labels: MT-Unsafe. - Close() error } |
