MCPcopy Index your code
hub / github.com/docker/cli / ensureImageOptions

Function ensureImageOptions

opts/mount_utils.go:104–109  ·  view source on GitHub ↗
(m *mount.Mount)

Source from the content-addressed store, hash-verified

102}
103
104func ensureImageOptions(m *mount.Mount) *mount.ImageOptions {
105 if m.ImageOptions == nil {
106 m.ImageOptions = &mount.ImageOptions{}
107 }
108 return m.ImageOptions
109}
110
111func ensureBindOptions(m *mount.Mount) *mount.BindOptions {
112 if m.BindOptions == nil {

Callers 1

SetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…