aboutsummaryrefslogtreecommitdiff
path: root/refstore/refstore.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-07 14:46:42 +0800
committerGravatar Runxi Yu2026-03-07 15:56:34 +0800
commit9d8e9f07083e3e3c85f27bc0583258bce0266509 (patch)
treea638d20a6af7c728cfee5f4c2656fee78d3e992e /refstore/refstore.go
parentrefstore/{loose,packed}: Delete (diff)
signatureNo signature
refstore: Remove Shorten for now
Diffstat (limited to 'refstore/refstore.go')
-rw-r--r--refstore/refstore.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/refstore/refstore.go b/refstore/refstore.go
index 8d37b427..a952ae22 100644
--- a/refstore/refstore.go
+++ b/refstore/refstore.go
@@ -34,12 +34,6 @@ type ReadingStore interface {
//
// The exact pattern language is backend-defined.
List(pattern string) ([]ref.Ref, error)
- // Shorten returns the shortest unambiguous shorthand for a full
- // reference name within this store's visible namespace.
- //
- // If name does not exist in this store, implementations should return
- // ErrReferenceNotFound.
- Shorten(name string) (string, error)
// Close releases resources associated with the store.
Close() error
}