diff options
| author | 2026-03-06 18:38:44 +0800 | |
|---|---|---|
| committer | 2026-03-06 18:58:30 +0800 | |
| commit | f2922155de01b734e3e8b3f50be8f263ec13cacd (patch) | |
| tree | 6dcfcf5689e63eea09314dce543e1de26cab89fe /repository/refs.go | |
| parent | internal/compress: Format (diff) | |
| signature | No signature | |
*: Lint v0.1.68
Diffstat (limited to 'repository/refs.go')
| -rw-r--r-- | repository/refs.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/repository/refs.go b/repository/refs.go index bdcab843..f3ce6435 100644 --- a/repository/refs.go +++ b/repository/refs.go @@ -12,6 +12,7 @@ import ( refpacked "codeberg.org/lindenii/furgit/refstore/packed" ) +//nolint:ireturn func openRefStore(root *os.Root, algo objectid.Algorithm) (out refstore.Store, err error) { looseRoot, err := root.OpenRoot(".") if err != nil { @@ -47,6 +48,8 @@ func openRefStore(root *os.Root, algo objectid.Algorithm) (out refstore.Store, e } // Refs returns the configured ref store. +// +//nolint:ireturn func (repo *Repository) Refs() refstore.Store { return repo.refs } |
