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

Function ensureBindOptions

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

Source from the content-addressed store, hash-verified

109}
110
111func ensureBindOptions(m *mount.Mount) *mount.BindOptions {
112 if m.BindOptions == nil {
113 m.BindOptions = &mount.BindOptions{}
114 }
115 return m.BindOptions
116}
117
118func ensureTmpfsOptions(m *mount.Mount) *mount.TmpfsOptions {
119 if m.TmpfsOptions == 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…