aboutsummaryrefslogtreecommitdiff
path: root/refstore/files/close.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-25 14:31:16 +0000
committerGravatar Runxi Yu2026-03-25 14:31:16 +0000
commit48ff647cf4a8bb8f23fcd6b8616f56a8ef72b980 (patch)
treeae199c38042adaa544d5f7d31351661d5831381e /refstore/files/close.go
parent*: objectstore -> object/store (diff)
signatureNo signature
*: refstore -> ref/store
Diffstat (limited to 'refstore/files/close.go')
-rw-r--r--refstore/files/close.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/refstore/files/close.go b/refstore/files/close.go
deleted file mode 100644
index 58f400a5..00000000
--- a/refstore/files/close.go
+++ /dev/null
@@ -1,11 +0,0 @@
-package files
-
-// Close releases resources associated with the store.
-//
-// Store borrows gitRoot, so Close does not close it.
-// Transactions and batches borrowing the store are invalid after Close.
-//
-// Repeated calls to Close are undefined behavior.
-func (store *Store) Close() error {
- return store.commonRoot.Close()
-}