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

Struct mountFormatter

core/mount/manager/format.go:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29const formatCheck = "{{"
30
31type mountFormatter struct{}
32
33func (mountFormatter) Transform(_ context.Context, m mount.Mount, a []mount.ActiveMount) (mount.Mount, error) {
34 if sc := formatString(m.Source); sc != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected