MCPcopy Index your code
hub / github.com/containerd/containerd / Mount

Method Mount

core/mount/mount.go:97–103  ·  view source on GitHub ↗

Mount to the provided target path.

(target string)

Source from the content-addressed store, hash-verified

95
96// Mount to the provided target path.
97func (m *Mount) Mount(target string) error {
98 target, err := fs.RootPath(target, m.Target)
99 if err != nil {
100 return fmt.Errorf("failed to join path %q with root %q: %w", m.Target, target, err)
101 }
102 return m.mount(target)
103}
104
105// readonlyMounts modifies the received mount options
106// to make them readonly

Callers 8

TestFUSEHelperFunction · 0.95
initalizeBlockDeviceFunction · 0.95
ApplyMethod · 0.95
commitBlockMethod · 0.95
SupportsMultipleLowerDirFunction · 0.95
NeedsUserXAttrFunction · 0.95

Calls 1

mountMethod · 0.95

Tested by 5

TestFUSEHelperFunction · 0.76
initalizeBlockDeviceFunction · 0.76
ApplyMethod · 0.76