shithub: furgit

ref: c8dd7d3b44c93a664dddc0c4619d336c6e13d2a8
dir: /refstore/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()
}