aboutsummaryrefslogtreecommitdiff
path: root/ref
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 03:52:39 +0000
committerGravatar Runxi Yu2026-03-29 03:52:39 +0000
commitf50338570adee19a64d7a83105b5a9ff30df84f2 (patch)
treef75e731039cc54bf65cd50f747a09ca9eac76f70 /ref
parentnetwork: Fix labels (diff)
signatureNo signature
*: Add Life-Parent for Deps-Borrowed where appropriate
Diffstat (limited to 'ref')
-rw-r--r--ref/store/chain/new.go2
-rw-r--r--ref/store/files/new.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/ref/store/chain/new.go b/ref/store/chain/new.go
index a830d06c..2b720e48 100644
--- a/ref/store/chain/new.go
+++ b/ref/store/chain/new.go
@@ -6,7 +6,7 @@ import refstore "codeberg.org/lindenii/furgit/ref/store"
//
// The provided backends must be non-nil and distinct.
//
-// Labels: Deps-Borrowed.
+// Labels: Deps-Borrowed, Life-Parent.
func New(backends ...refstore.ReadingStore) *Chain {
return &Chain{
backends: append([]refstore.ReadingStore(nil), backends...),
diff --git a/ref/store/files/new.go b/ref/store/files/new.go
index 3c754968..391930fb 100644
--- a/ref/store/files/new.go
+++ b/ref/store/files/new.go
@@ -10,7 +10,7 @@ import (
// New creates one files ref store rooted at one repository gitdir.
//
-// Labels: Deps-Borrowed.
+// Labels: Deps-Borrowed, Life-Parent.
func New(root *os.Root, algo objectid.Algorithm, packedRefsTimeout time.Duration) (*Store, error) {
if algo.Size() == 0 {
return nil, objectid.ErrInvalidAlgorithm