MCPcopy Create free account
hub / github.com/containers/image / NewImageSource

Method NewImageSource

storage/storage_reference.go:289–291  ·  view source on GitHub ↗
(ctx context.Context, sys *types.SystemContext)

Source from the content-addressed store, hash-verified

287}
288
289func (s storageReference) NewImageSource(ctx context.Context, sys *types.SystemContext) (types.ImageSource, error) {
290 return newImageSource(sys, s)
291}
292
293func (s storageReference) NewImageDestination(ctx context.Context, sys *types.SystemContext) (types.ImageDestination, error) {
294 return newImageDestination(sys, s)

Callers

nothing calls this directly

Calls 1

newImageSourceFunction · 0.70

Tested by

no test coverage detected