MCPcopy
hub / github.com/google/go-containerregistry / CopyRepository

Function CopyRepository

pkg/gcrane/copy.go:72–75  ·  view source on GitHub ↗

CopyRepository copies everything from the src GCR repository to the dst GCR repository.

(ctx context.Context, src, dst string, opts ...Option)

Source from the content-addressed store, hash-verified

70// CopyRepository copies everything from the src GCR repository to the
71// dst GCR repository.
72func CopyRepository(ctx context.Context, src, dst string, opts ...Option) error {
73 o := makeOptions(opts...)
74 return recursiveCopy(ctx, src, dst, o)
75}
76
77type task struct {
78 digest string

Callers 3

NewCmdCopyFunction · 0.92
TestCopyFunction · 0.70
TestBadInputsFunction · 0.70

Calls 2

recursiveCopyFunction · 0.85
makeOptionsFunction · 0.70

Tested by 2

TestCopyFunction · 0.56
TestBadInputsFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…