shithub: furgit

ref: 6e917f2b9b6b64721d046d66311aa64589e19d9f
dir: /ref/store/files/close.go/

View raw version
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()
}