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 <[email protected]>
1 parent b8e87ed commit 00f182b

File tree

15 files changed

+8
-8
lines changed

15 files changed

+8
-8
lines changed

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"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

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)