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