1
0
mirror of https://github.com/regclient/regclient.git synced 2025-04-18 22:44:00 +03:00
Brandon Mitchell 37fcba1d7a
Breaking: Disable legacy packages by default.
Legacy packages may still be used with "-tags legacy" added to the build.
They may be permanently removed in a future release.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-11-12 09:23:58 -05:00

21 lines
385 B
Go

//go:build legacy
// +build legacy
// Legacy package, this has been moved to the types/ref package
package types
import (
"github.com/regclient/regclient/types/ref"
)
// Ref is used for a reference to an image or repository.
//
// Deprecated: replace with [ref.Ref].
type Ref = ref.Ref
// NewRef create a new [Ref].
//
// Deprecated: replace with [ref.New].
var NewRef = ref.New