Skip to content

Commit 00f182b

Browse files
authored
Expose compare package (#2001)
I've needed this outside of ggcr for a while but have been just making due without. Signed-off-by: Jon Johnson <jon.johnson@chainguard.dev>
1 parent b8e87ed commit 00f182b

15 files changed

Lines changed: 8 additions & 8 deletions

File tree

pkg/crane/crane_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ import (
2828
"strings"
2929
"testing"
3030

31-
"github.com/google/go-containerregistry/internal/compare"
3231
"github.com/google/go-containerregistry/pkg/authn"
3332
"github.com/google/go-containerregistry/pkg/crane"
3433
"github.com/google/go-containerregistry/pkg/name"
3534
"github.com/google/go-containerregistry/pkg/registry"
3635
v1 "github.com/google/go-containerregistry/pkg/v1"
36+
"github.com/google/go-containerregistry/pkg/v1/compare"
3737
"github.com/google/go-containerregistry/pkg/v1/empty"
3838
"github.com/google/go-containerregistry/pkg/v1/mutate"
3939
"github.com/google/go-containerregistry/pkg/v1/random"

pkg/legacy/tarball/write_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ import (
2424
"strings"
2525
"testing"
2626

27-
"github.com/google/go-containerregistry/internal/compare"
2827
"github.com/google/go-containerregistry/pkg/name"
2928
v1 "github.com/google/go-containerregistry/pkg/v1"
29+
"github.com/google/go-containerregistry/pkg/v1/compare"
3030
"github.com/google/go-containerregistry/pkg/v1/mutate"
3131
"github.com/google/go-containerregistry/pkg/v1/partial"
3232
"github.com/google/go-containerregistry/pkg/v1/random"

pkg/v1/daemon/image_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import (
2727
api "github.com/docker/docker/api/types/image"
2828

2929
"github.com/docker/docker/api/types"
30-
"github.com/google/go-containerregistry/internal/compare"
3130
"github.com/google/go-containerregistry/pkg/name"
31+
"github.com/google/go-containerregistry/pkg/v1/compare"
3232
"github.com/google/go-containerregistry/pkg/v1/tarball"
3333
"github.com/google/go-containerregistry/pkg/v1/validate"
3434
)

0 commit comments

Comments
 (0)