MCPcopy Create free account
hub / github.com/containers/common / systemContextCopy

Method systemContextCopy

libimage/runtime.go:75–79  ·  view source on GitHub ↗

Returns a copy of the runtime's system context.

()

Source from the content-addressed store, hash-verified

73
74// Returns a copy of the runtime's system context.
75func (r *Runtime) systemContextCopy() *types.SystemContext {
76 var sys types.SystemContext
77 deepcopy.Copy(&sys, &r.systemContext)
78 return &sys
79}
80
81// EventChannel creates a buffered channel for events that the Runtime will use
82// to write events to. Callers are expected to read from the channel in a

Callers 15

newCopierMethod · 0.95
ImportMethod · 0.95
saveDockerArchiveMethod · 0.95
SearchMethod · 0.95
searchImageInRegistryMethod · 0.95
SystemContextMethod · 0.95
inspectInfoMethod · 0.80
HasDifferentDigestMethod · 0.80
sourceMethod · 0.80
rawConfigBlobMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected