shithub: furgit

ref: cf02f2958c191bea02126faf8daf72a7aae76bd9
dir: /refstore/files/close.go/

View raw version
package files

// Close releases resources associated with the store.
func (store *Store) Close() error {
	err := store.gitRoot.Close()
	commonErr := store.commonRoot.Close()

	if err != nil {
		return err
	}

	return commonErr
}