aboutsummaryrefslogtreecommitdiff
path: root/refstore/files/close.go
blob: 58f400a5b3cb3e3809e3916e769291742e228bdf (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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()
}