aboutsummaryrefslogtreecommitdiff
path: root/repository/refs.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-28 14:25:31 +0000
committerGravatar Runxi Yu2026-03-28 14:25:31 +0000
commit3dc0eefa251989eb45bf647f83ec19369660b76b (patch)
tree001457ab5e50262d98126c80f0dfc51429a949eb /repository/refs.go
parentfurgit: Document contract labels (diff)
signatureNo signature
repository: Use labels v0.1.120
Diffstat (limited to 'repository/refs.go')
-rw-r--r--repository/refs.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/repository/refs.go b/repository/refs.go
index 5c085ef9..2e89aed6 100644
--- a/repository/refs.go
+++ b/repository/refs.go
@@ -4,9 +4,7 @@ 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.
+// Labels: Life-Parent, Close-No.
//
//nolint:ireturn
func (repo *Repository) Refs() refstore.ReadWriteStore {