aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-02-21 11:37:55 +0800
committerGravatar Runxi Yu2026-02-21 11:38:11 +0800
commit607bcd7a105864a7a4b92af213ffcf3cbf3a5810 (patch)
treefeb1817804b835e51de8ff69dae0e8cf59d85c0f
parentref: Note that the Peeled field is optional (diff)
signatureNo signature
refstore: ResolveFully doesn't inherently peel annotated tags
-rw-r--r--refstore/refstore.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/refstore/refstore.go b/refstore/refstore.go
index 5653d4ca..1de039f4 100644
--- a/refstore/refstore.go
+++ b/refstore/refstore.go
@@ -24,6 +24,9 @@ type Store interface {
// Implementations may use backend-local lookup semantics for symbolic hops.
// Callers that need cross-backend symbolic resolution (for example in a
// chain of stores) should prefer repeatedly calling Resolve.
+ //
+ // ResolveFully resolves symbolic references only. It does not imply peeling
+ // annotated tag objects.
ResolveFully(name string) (ref.Detached, error)
// List returns references matching pattern.
//