shithub: furgit

ref: e7ce17381f525328073577d60583447fc9412c18
dir: /repository/refs.go/

View raw version
package repository

import "codeberg.org/lindenii/furgit/refstore"

// Refs returns the configured ref store.
//
// The returned store is owned by Repository and borrows repository-managed
// resources. Callers must not close it directly, and it must not be used after
// Close.
//
//nolint:ireturn
func (repo *Repository) Refs() refstore.ReadWriteStore {
	return repo.refs
}