shithub: furgit

ref: ba8c85ed2456c59269214f6e4f1203537fb3f6d4
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
}