shithub: furgit

ref: 2a5c12f0152240f54d01653b70b7605103393afd
dir: /repository/refs.go/

View raw version
package repository

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

// 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
}