aboutsummaryrefslogtreecommitdiff
path: root/ref/store/files/close.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-28 17:08:46 +0000
committerGravatar Runxi Yu2026-03-28 17:08:46 +0000
commit78461860b65f84b2a4933ef8a033fa581a4d0c68 (patch)
treec0aa308b2a24f3782c164cc554d4bac9a182edfe /ref/store/files/close.go
parentref/store/chain: Update docs (diff)
signatureNo signature
ref/store/files: Update docs
Diffstat (limited to 'ref/store/files/close.go')
-rw-r--r--ref/store/files/close.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/ref/store/files/close.go b/ref/store/files/close.go
index 58f400a5..0e5212d0 100644
--- a/ref/store/files/close.go
+++ b/ref/store/files/close.go
@@ -1,11 +1,6 @@
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()
}