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

Function NewErofsMountHandler

plugins/mount/erofs/plugin_linux.go:48–50  ·  view source on GitHub ↗

NewErofsMountHandler creates a new EROFS mount handler that supports dm-verity

()

Source from the content-addressed store, hash-verified

46
47// NewErofsMountHandler creates a new EROFS mount handler that supports dm-verity
48func NewErofsMountHandler() mount.Handler {
49 return &erofsMountHandler{}
50}
51
52func (h *erofsMountHandler) Mount(ctx context.Context, m mount.Mount, mp string, _ []mount.ActiveMount) (_ mount.ActiveMount, retErr error) {
53 if m.Type != "erofs" {

Callers 1

initFunction · 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…